启动一个node程序,首先npm install,然后npm start,可出现了如下问题:
E:\nodejs\gnss-seed-master>npm start
> gateway@0.0.0 start E:\nodejs\gnss-seed-master
> node ./bin/www
module.js:327
throw err;
^
Error: Cannot find module 'E:\nodejs\gnss-seed-master\bin\www'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:139:18)
at node.js:968:3
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v4.4.7
npm ERR! npm v2.15.8
npm ERR! code ELIFECYCLE
npm ERR! gateway@0.0.0 start: `node ./bin/www`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the gateway@0.0.0 start script 'node ./bin/www'.
npm ERR! This is most likely a problem with the gateway package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./bin/www
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs gateway
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls gateway
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! E:\nodejs\gnss-seed-master\npm-debug.log
查询了修改方法,有一种是:
npm install cheerio@^0.19.0
重新安装cheerio,并指定版本
但是试过没有效果,请大神们指点!!
Your Answer
2 answers
Hot tools Tags
Hot Questions
function_exists() cannot determine the custom function
2024-04-29 11:01:01
How to display the mobile version of Google Chrome
2024-04-23 00:22:19
The child window operates the parent window, but the output does not respond.
2024-04-19 15:37:47
There is no output in the parent window
2024-04-18 23:52:34
Where is the courseware about CSS mind mapping?
2024-04-16 10:10:18
Hot Tools
vc9-vc14 (32+64 bit) runtime library collection (link below)
Download the collection of runtime libraries required for phpStudy installation
VC9 32-bit
VC9 32-bit phpstudy integrated installation environment runtime library
PHP programmer toolbox full version
Programmer Toolbox v1.0 PHP Integrated Environment
VC11 32-bit
VC11 32-bit phpstudy integrated installation environment runtime library
SublimeText3 Chinese version
Chinese version, very easy to use
Hot Topics
Douyin level price list 1-75
20338
7
20338
7
wifi shows no ip assigned
13531
4
13531
4
Hot Article
Prediction of the top ten trends in the cryptocurrency market in 2025: Where is the next trend?
2025-11-07
By DDD
How to identify the native dog projects in the currency circle? Avoid the traps and risk warnings of zerocoin
2025-11-07
By DDD
Tutorial on solving CSS @media query priority and rule coverage issues
2025-11-07
By DDD







