******vuecheck-version.jsCannot read property "node" of undefined******
versionRequirement: packageConfig.engines.node
^
TypeError: Cannot read property "node" of undefined
at Object.<anonymous> (K:\All_git\vueEle\build\check-versions.js:19:45)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (K:\All_git\vueEle\build\dev-server.js:1:63)
at Module._compile (module.js:643:30)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sell@1.0.0 dev: `node build/dev-server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sell@1.0.0 dev 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! H:\nodejs\node_cache\_logs\2018-10-17T12_26_52_205Z-debug.log
the code in this check-version.js file, I Baidu, everything in this file is the configuration file of webpack about the node npm version.
the code written on the Internet is exactly the same as my code. has not changed at all. I feel like I haven"t introduced it or need to adjust
beginners of vue may be a little confused. I hope you guys don"t mind
the environmental background of the problems and what methods you have tried
related codes
/ / Please paste the code text below (do not replace the code with pictures)