求问安装Ghost时出现“npm warn”怎么解决呢?

新手上路,请多包涵

在ubuntu 14.04的VPS上安装ghost,结果出现以下报错,请问这是什么意思呢?

root@yangzihui:/var/www/ghost# sudo npm install --production
npm WARN cannot run in wd ghost@0.7.4 npm install semver && node -e "require('./core/server/utils/startup-check.js').nodeVersion()" (wd=/var/www/ghost)
阅读 4.7k
3 个回答
新手上路,请多包涵

Since v1.0.0, Node.js has an out-of-the-box implementation of both fs.access() and fs.accessSync().

Please use these native functions instead of this module.
官方解释:https://www.npmjs.com/package...