You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ npm start
> blog@1.0.0 start C:\Code\test
> npm run fetch:config && npm run develop
> blog@1.0.0 fetch:config C:\Code\test
> NODE_ENV=development node ./scripts/index.js
'NODE_ENV' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! blog@1.0.0 fetch:config: `NODE_ENV=development node ./scripts/index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the blog@1.0.0 fetch:config 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! C:\Users\mkb\AppData\Roaming\npm-cache\_logs\2018-12-16T04_09_04_527Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! blog@1.0.0 start: `npm run fetch:config && npm run develop`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the blog@1.0.0 start 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! C:\Users\mkb\AppData\Roaming\npm-cache\_logs\2018-12-16T04_09_04_619Z-debug.log
环境
Windows 下一直报错如下
尝试直接指定 config 后可以成功运行
我不是程序员,所以也不太理解是什么原因,另外中文文档里配置文件缺一行
The text was updated successfully, but these errors were encountered: