-
Notifications
You must be signed in to change notification settings - Fork 132
Description
当运行npm run init命令时,报如下错误:
[email protected] init D:\vue\wh-web
webpack --progress --config webpack.dev.config.js
0% compilingfs.js:157
throw new ERR_INVALID_CALLBACK();
^
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
at maybeCallback (fs.js:157:9)
at Object.fs.write (fs.js:674:14)
at D:\vue\wh-web\webpack.dev.config.js:10:8
at FSReqWrap.oncomplete (fs.js:169:20)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] init: webpack --progress --config webpack.dev.config.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] init 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\刘超\AppData\Roaming\npm-cache_logs\2018-05-30T06_40_55_041Z-debug.log
这是什么原因??????????????