我正在跟踪this在我的Windows上安装saleor,并在第9阶段(运行npm run build-assets
)中遇到以下错误:
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! saleor@0.0.0 build-assets: `webpack -p`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the saleor@0.0.0 build-assets 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\AliTnK\AppData\Roaming\npm-cache\_logs\2019-06-23T17_16_39_991Z-debug.log
我的node.js版本是9.11.2,我在Windows 10 x64上
答案 0 :(得分:0)
您应该升级自己的nodejs版本
Saleor需要Python 3.6 +,Node.js 10.0 +,PostgreSQL和特定于操作系统的依赖工具。