Create a new notepad on the desktop, write the familiar Hello word, and save it with the suffix JS
What I wrote is just a helloword, which doesn’t involve any package management tools, so don’t bother with NPM. This error is simply that I can’t find the file.
Simple solution: press the shift key in the blank space of the desktop without putting the right mouse button, select here to open the command window, and then edit it properly, or type the path in the DOS interface.
Conclusion: in fact, it is a problem of path~
Read More:
- node.js Cannot find module “XXX” solution
- Node.js Cannot find module ‘mysql’ ‘express’
- Copy node causes NPM execution error: cannot find module ‘/ / lib / utils/ unsupported.js ‘
- Cannot find module ‘.. / lib / utils / unsupported. JS’ problem in installing node in centos7
- Module build failed (from ./node_modules/postcss-loader/src/index.js):
- Error: cannot find module ‘node sass’
- Module build failed: error: cannot find module ‘node sass’ error
- (node:268660) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘yallist‘
- NPM can’t find D: //nodejs/node all of The solution of sudden_modules/NPM/bin/npm-cli.js
- [Solved] gitbook: node_modules\npm\node_modules\graceful-fs\polyfills.js:287
- ERROR in ./node_modules/css-loader/dist/cjs.js!./node_modules/less-loader/dist/cjs.js!./src/css/spec
- Module build failed (from ./node_modules/babel-loader/lib/index.js) babel-loader
- Debugging with chrome Node.js
- Run webpack error: Error: Cannot find module’webpack/lib/node/NodeTemplatePlugin’
- Module build failed: Error: ENOENT: no such file or directory, scandir,‘node_modules\node-sass\vend’
- Error 2052/2053 when installing node.js in win
- After node.js is installed, use the instruction node version in vscode to show that it is not an external or internal instruction. The solution is as follows:
- Node.js Medium package.json The difference between devdependences and dependencies
- node.js Static resource acquisition failed
- NPM and Node.js Version incompatibility