build 運行失敗
E:\vscode\node>npm run build
> [email protected] build E:\vscode\node
> cross-env NODE_ENV=production webpack --config webpack.config.js
'cross-env' 不是內部或外部命令,也不是可運行的程序
或批處理文件。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `cross-env NODE_ENV=production webpack --config webpack.config.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build 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\Administrator\AppData\Roaming\npm-cache\_logs\2019-05-20T02_08_46_470Z-debug.log
2019-05-20
我估計是你文件件名字node的問題,你試試改個名字。