litten / zing-gallery

基于node.js的web相册,让摄影照片的展示更加简单 Web albums based on node.js, more simple to show photography photos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

使用npm i命令一直卡死,不动

guozhang360 opened this issue · comments

无论翻不翻墙,使用npm i命令,进度条一直不动,这是为什么?

commented

运行成功了吗,用的哪个版本,npm i 我一直报错:

Error: Cannot find module '/root/zing-gallery/node_modules/images/scripts/nothing.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:931:15)
    at Function.Module._load (internal/modules/cjs/loader.js:774:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN url-loader@0.5.9 requires a peer of file-loader@* but none is installed. You must install peer dependencies yourself.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! images@3.2.4 install: `node scripts/nothing.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the images@3.2.4 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2023-08-15T06_59_59_159Z-debug.log