- 执行 npm start,提示Cannot read prope
- vue项目启动Cannot read property 'mat
- Syntax Error: TypeError: Cannot
- [Vue warn]:Error in nextTick:"Ty
- vue2.0入手踩的第三个坑-网络请求
- Cannot find module 'webpack/bin/
- npm ERR! Cannot read property 'r
- 解决 Cannot read property 'match'
- Cannot assign to read only prope
- Cannot assign to read only prope
执行 npm start,提示Cannot read property 'properties' of undefined
解决方案:升级webpack-cli:npm i webpack-cli@3.1.1 -D
/eostoolkit$ npm start
> eos-toolbox@1.0.0 start /github_sourcecode/eostoolkit
> webpack-dev-server --config webpack.config.js --mode development
/eostoolkit/node_modules/webpack-cli/bin/config-yargs.js:89
describe: optionsSchema.definitions.output.properties.path.description,
^
TypeError: Cannot read property 'properties' of undefined
at module.exports (/eostoolkit/node_modules/webpack-cli/bin/config-yargs.js:89:48)
at Object.<anonymous> (/eostoolkit/node_modules/webpack-dev-server/bin/webpack-dev-server.js:84:40)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
npm ERR! Linux 4.15.0-36-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! eos-toolbox@1.0.0 start: `webpack-dev-server --config webpack.config.js --mode development`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the eos-toolbox@1.0.0 start script 'webpack-dev-server --config webpack.config.js --mode development'.
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 eos-toolbox package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! webpack-dev-server --config webpack.config.js --mode development
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs eos-toolbox
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls eos-toolbox
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /eostoolkit/npm-debug.log
网友评论