As reported:
internal/modules/cjs/loader.js:969
throw err;
^
Error: Cannot find module 'c:/Users/Jo锟給 Silva/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode.js-debug/src/bootloader.bundle.js'
`internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module '"/snap/code/36/usr/share/code/resources/app/extensions/ms-vscode.js-debug/src/bootloader.bundle.js"'`
it seems it isn't a utf-8 problem.
the fie bootloader.bundle.js exists in the given location...
Linux #47~18.04.1-Ubuntu SMP Thu May 7 13:10:50 UTC 2020 node v10.17.0
Version: 1.47.0
Commit: d5e9aa0227e057a60c82568bf31c04730dc15dcd
Date: 2020-07-09T08:30:34.302Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.3.0-53-generic snap
@vvFiCKvv you're hitting a version of https://github.com/microsoft/vscode/issues/102035#issuecomment-656801666. The resolution steps in the comment will work for you (just ignore the electron part of it)
This is an issue in Node.js, see https://github.com/nodejs/node/issues/34399.
For now, you can get around this by using attachSimplePort with the nightly build. You miss out on some functionality, but it will unblock you.
Example launch.json:
{
"type": "pwa-node",
"request": "launch",
"name": "Launch program",
"attachSimplePort": 0,
"program": "${workspaceFolder}/main.js",
},
This is an issue in Node.js, see nodejs/node#34399.
For now, you can get around this by using
attachSimplePortwith the nightly build. You miss out on some functionality, but it will unblock you.Example launch.json:
{ "type": "pwa-node", "request": "launch", "name": "Launch program", "attachSimplePort": 0, "program": "${workspaceFolder}/main.js", },
I had the same issue, this option of the launch.json helped out me. Thank you very much :)
