npm ERR! While resolving: socket@1.0.0 npm ERR!
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: socket@1.0.0
npm ERR! Found: webpack@4.46.0
npm ERR! node_modules/webpack
npm ERR! webpack@"^4.46.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer webpack@"^2.2.0 || ^3.0.0" from webpack-dev-server@2.9.7
npm ERR! node_modules/webpack-dev-server
npm ERR! dev webpack-dev-server@"2.9.7" from the root project
npm ERR!
// 降低npm版本
npm install npm@3.8.6 -g