新版的ghost一直安装不上哪 位大侠帮助看一下
发布于 10 年前 作者 iln168 6113 次浏览 最后一次编辑是 8 年前

按官方给的说明 做以下操作就可了安装: Quickstart: 1 npm install -g grunt-cli 2 npm install 3 grunt init (and grunt prod if you want to run Ghost in production mode) 4 npm start

但做到第三步(前两完全可以)报错一直

Running “update_submodules” task Warning: fatal: Not a git repository (or any of the parent directories): .git Us e --force to continue.

Aborted due to warnings.

不知道哪位大侠这是什么回事

6 回复

Running “update_submodules” task Warning: fatal: Not a git repository (or any of the parent directories): .git Us e --force to continue.

Aborted due to warnings. 又安装了一次还是这样

是不是哪 里没安装对

直接 运行 npm start 报以下的错误 ERROR: Cannot find the configuration for the current NODE_ENV NODE_ENV=development Ensure your config.js has a section for the current NODE_ENV value and is forma tted properly.

Running “update_submodules” task Warning: fatal: Not a git repository (or any of the parent directories): .git Us e --force to continue. 看上去是有submodule 造成了,你试试先运行git submodule init ,然后git submodule update试一下。

我是start后,什么都木有 Ghost is running in development… Listening on 127.0.0.1:2368 。。。

是吧是node 版本的问题啊?

回到顶部