When I first started learning node.js, I reported an error at the beginning and my mentality collapsed
———————————————————————————–
I create a folder node on my desktop_ Demo, my xx.js file is in node_ demo> demo2> app.js
In vscode, I directly Ctrl + ` (backquote) to open the terminal, but the following error occurs
Look at the path carefully and find that it is wrong. My app.js should be in demo2. Maybe this shortcut does not open the target file….
Therefore, click JS file in the left directory, right-click and select open to open it in the integration terminal~~
Successful problem solving is tiring~~~~
Read More:
- NPM install error: Cannot find module ‘D:\zip\node_modules\npm\bin\npm-cli.js‘
- Vue require Error: node_modules/babel-loader/lib
- [Solved] webpack.config.js configuration encountered Error: Cannot find module’@babel/core’&&Cannot find module’@babel/plugin-transform-react-jsx’
- NPM run dev Error Module build failed: Error: Cannot find module ‘node-sass’
- [Solved] Error: unable to perform an operation on node ‘rabbit@DESKTOP-xxx‘. Please see diagnostics informa
- Angular6 rxjs start error in node_modules/rxjs/internal/types.d.ts(81,44): error TS1005: ‘;’ expected.
- Error: uncaughtexception: cannot find module ‘internal / util / types’
- [Solved] npm Error: Error: Cannot find module ‘postcss-loader‘
- Node js events.js:183 throw er; // Unhandled ‘error’ event
- The reason and solution for the error ECONNRESET of the httpClieint request of Node.js
- [Solved] Error: Failure while executing; `tar –extract –no-same-owner –file /Users/wangchuangyan/Library/C
- Module not found: Error: Can‘t resolve ‘sass-loader‘
- Module not found: Error: Can‘t resolve ‘sass-loader‘ in…
- Error starting vue project these dependencies were not found:create in ./src/router/modules/md.js
- Node.js operation mysql error Cannot enqueue Handshake after invoking quit
- [Solved] Electron Error: Error: Electron failed to install correctly, please delete node_modules/electron and try
- [Solved] cnpm: Cannot load the file C:\Users\Raytine\AppData\Roaming\npm\cnpm.ps1 because running scripts is prohibited on this system
- Node.js Error: throw er; // Unhandled ‘error‘ event [How to Solve]
- [Solved] Vue.js error: Module build failed: Error: No parser and no file path given, couldn’t infer a parser.