E:\vscode\node>npm run build
> node@1.0.0 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! node@1.0.0 build: `cross-env NODE_ENV=production webpack --config webpack.config.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node@1.0.0 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
我估计是你文件件名字node的问题,你试试改个名字。