Skip to content

Electron 16: Integration test fails to start on mac when loading spdlog #137431

Closed
@deepak1556

Description

@deepak1556

Refs #137241

Currently the issue is only seen in CI runs, haven't been able to repro the issue locally.

 Module did not self-register: '/Users/runner/work/vscode/vscode/node_modules/spdlog/build/Release/spdlog.node'

The error means that spdlog is trying to be loaded more than once in the same process when it is not context aware and currently the error is triggered from the main process.

    at createSpdLogLogger (/Users/runner/work/vscode/vscode/out/vs/platform/log/node/spdlogLog.js:12:35)
    at SpdLogLogger._createSpdLogLogger (/Users/runner/work/vscode/vscode/out/vs/platform/log/node/spdlogLog.js:63:34)
    at new SpdLogLogger (/Users/runner/work/vscode/vscode/out/vs/platform/log/node/spdlogLog.js:53:48)
    at /Users/runner/work/vscode/vscode/out/vs/code/electron-main/main.js:56:47
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async CodeMain.startup (/Users/runner/work/vscode/vscode/out/vs/code/electron-main/main.js:43:17)

Metadata

Metadata

Type

No type

Projects

Status

✔️ Done / Deferred

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions