ghost@0.5.10 start /h-6ren">
gpt4 book ai didi

javascript - "npm start"在 ghost (node.js) 中给出错误

转载 作者:行者123 更新时间:2023-11-30 08:38:32 24 4
gpt4 key购买 nike

我尝试在安装 node.js 后设置 ghost 但是当我运行 ghost 安装时

npm install --productions

它给了我以下错误

> ghost@0.5.10 start /home/kedarkhetia/Downloads/ghost-0.5.10
> node index


module.js:340
throw err;
^
Error: Cannot find module 'streamsearch'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/home/kedarkhetia/Downloads/ghost-0.5.10/node_modules/busboy/node_modules/dicer/lib/Dicer.js:5:20)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
npm ERR! weird error 8
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! not ok code 0

感谢任何帮助。

最佳答案

尝试运行

npm install streamsearch

这个有用吗?

这可能是相关的:

Cannot install packages using node package manager in Ubuntu

关于javascript - "npm start"在 ghost (node.js) 中给出错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29100678/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com