hubao2017 commented on issue #337: Local environment issue for weex-toolkit URL: https://github.com/apache/incubator-weex-cli/issues/337#issuecomment-568875096 > @erha19 weex run ios 之后报这个错,请问这是怎么了?webpack版本有关么? > 11:39:32 : Error:Error: Command failed: npm run build > npm ERR! code ELIFECYCLE > npm ERR! errno 2 > npm ERR! [email protected] build: `webpack --env.NODE_ENV=common` > npm ERR! Exit status 2 > 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! /Users/Codeliu/.npm/_logs/2018-08-22T03_39_32_540Z-debug.log > > ``` > at ChildProcess.exithandler (child_process.js:275:12) > at emitTwo (events.js:126:13) > at ChildProcess.emit (events.js:214:7) > at maybeClose (internal/child_process.js:925:16) > at Socket.stream.socket.on (internal/child_process.js:346:11) > at emitOne (events.js:116:13) > at Socket.emit (events.js:211:7) > at Pipe._handle.close [as _onclose] (net.js:554:12) > ``` 请问这个是怎么解决的?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
