Closed
Description
Describe the bug
some users of our project report an issue, when running cnpm install
at vscode, it will crash.
Error: Command failed: /Users/sunny/Documents/Workspace/My/dingtalk-robot-server/node_modules/node/bin/node -e "process.stdout.write(JSON.stringify(process.versions))"
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module '"/Users/sunny/Library/Application'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
$ echo ${NODE_OPTIONS}
--require "/Users/sunny/Library/Application Support/Code/User/workspaceStorage/0566b62ed6c96028f6eca701b9ac9d1e/ms-vscode.js-debug/bootloader.js"
To Reproduce
Steps to reproduce the behavior:
after a long dig, we found it seems a bug of Node 10.x
see https://github.com/atian25/node-bug-report
just a notify for you, free to close this issue.
Log File
VS Code Version: Replace me!
Additional context
Add any other context about the problem here.