"scripts":{"start":"webpack-dev-server--content-basepublic/","stage":"NODE_ENV=stagingwebpack-p--config--progress","deploy":"NODE_ENV=productionwebpack-p--config--progress","debug":"NODE_ENV=debugwebpack-dev-server--content-basepublic/"},正常npmstart可以跑起来了可运行npmrundeploy就报错了$npmrundeploy>react-scaffold@1.0.0deployE:\zan\www\webpack\react-scaffold>NODE_ENV=productionwebpack-p--config--progress'NODE_ENV'▒▒▒▒▒ڲ▒▒▒▒ⲿ▒▒▒Ҳ▒▒▒ǿ▒▒▒▒еij▒▒▒▒▒▒▒▒▒▒▒▒ļ▒▒▒npmERR!Windows_NT6.1.7601npmERR!argv"D:\\nodejs\\node.exe""D:\\nodejs\\node_modules\\npm\\bin\\npm-cli.js""run""deploy"npmERR!nodev4.0.0npmERR!npmv2.14.2npmERR!codeELIFECYCLEnpmERR!react-scaffold@1.0.0deploy:`NODE_ENV=productionwebpack-p--config--progress`npmERR!Exitstatus1npmERR!npmERR!Failedatthereact-scaffold@1.0.0deployscript'NODE_ENV=productionwebpack-p--config--progress'.npmERR!Thisismostlikelyaproblemwiththereact-scaffoldpackage,npmERR!notwithnpmitself.npmERR!Telltheauthorthatthisfailsonyoursystem:npmERR!NODE_ENV=productionwebpack-p--config--progressnpmERR!Youcangettheirinfovia:npmERR!npmownerlsreact-scaffoldnpmERR!Thereislikelyadditionalloggingoutputabove.npmERR!Pleaseincludethefollowingfilewithanysupportrequest:npmERR!E:\zan\www\webpack\react-scaffold\npm-debug.log而直接运行webpack-p正常哪里写错了吗求大神指导一下呀
添加回答
举报
0/150
提交
取消