|
有没有人碰到过这个错误?
完整的错误日志:
> quickapp-wechat@1.0.0 build /Users/***/Desktop/WebStormProject/quickapp-wechat-master
> cross-env NODE_PLATFORM=na NODE_PHASE=dv webpack --config ./node_modules/hap-tools/webpack.config.js
module.js:478
throw err;
^
Error: Cannot find module '/Users/***/Desktop/WebStormProject/quickapp-wechat-master/node_modules/hap-tools/webpack.config.js'
at Function.Module._resolveFilename (module.js:476:15)
at Function.Module._load (module.js:424:25)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at module.exports (/Users/***/Desktop/WebStormProject/quickapp-wechat-master/node_modules/webpack/bin/convert-argv.js:80:13)
at Object.<anonymous> (/Users/***/Desktop/WebStormProject/quickapp-wechat-master/node_modules/webpack/bin/webpack.js:39:40)
at Module._compile (module.js:577:32)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
npm ERR! Darwin 17.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! node v6.13.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! quickapp-wechat@1.0.0 build: `cross-env NODE_PLATFORM=na NODE_PHASE=dv webpack --config ./node_modules/hap-tools/webpack.config.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the quickapp-wechat@1.0.0 build script 'cross-env NODE_PLATFORM=na NODE_PHASE=dv webpack --config ./node_modules/hap-tools/webpack.config.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the quickapp-wechat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cross-env NODE_PLATFORM=na NODE_PHASE=dv webpack --config ./node_modules/hap-tools/webpack.config.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs quickapp-wechat
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls quickapp-wechat
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff}p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff; min-height: 13.0px}p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #990000; background-color: #000000}span.s1 {font-variant-ligatures: no-common-ligatures}span.s2 {font-variant-ligatures: no-common-ligatures; color: #bfbfbf; background-color: #000000}span.s3 {font-variant-ligatures: no-common-ligatures; color: #990000; background-color: #000000}span.s4 {font-variant-ligatures: no-common-ligatures; color: #d53bd3}span.s5 {font-variant-ligatures: no-common-ligatures; color: #bfbfbf}span.s6 {font-variant-ligatures: no-common-ligatures; color: #000000; background-color: #ffffff}
npm ERR! /Users/***/Desktop/WebStormProject/quickapp-wechat-master/npm-debug.log |
|