table of Contents
One: VSCode reports an error when using node.js to debug
1. Error message
internal/modules/cjs/loader.js:969
throw err;
^
Error: Cannot find module 'd:/����/����/Microsoft VS Code/resources/app/extensions/ms-vscode.js-debug/src/bootloader.bundle.js'
Require stack:
- internal/preload
at Functio
2. The reason for the error
The node installation path is in Chinese, which causes the js debugging in vscode to report an error.
Node installation path: "d:/ / ", including Chinese characters.
Two: Solution
- Step 1: Control Panel --> Clock and Area
- Step 2: Click "Region"
- Step 3: Click "Manage
- Step 4: Click "Change System Regional Settings". Select the Beta version: Use Uncode UTF-8 to provide the option of global language support. Click OK and restart the computer