請(qǐng)問(wèn)這是什么問(wèn)題,輸入npm run start后慰安,cmd打印一下信息
D:\Library\Desktop\LearnReact\react_webpack_webstorm\node_modules\webpack\lib\webpack.js:19
throw new WebpackOptionsValidationError(webpackOptionsValidationErrors);
^
WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- configuration.resolve has an unknown property 'root'. These properties are valid:
object { alias?, aliasFields?, cachePredicate?, descriptionFiles?, enforceExtension?, enforceModuleExtension?, extensions?, fileSystem?, mainFields?, mainFiles?, moduleExtensions?, modules?, plugins?, resolver?, symlinks?, unsafeCache?, useSyncFileSystemCalls? }
- configuration.resolve.extensions[0] should not be empty.
at webpack (D:\Library\Desktop\LearnReact\react_webpack_webstorm\node_modules\webpack\lib\webpack.js:19:9)
at Object.<anonymous> (D:\Library\Desktop\LearnReact\react_webpack_webstorm\server.js:8:22)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.runMain (module.js:590:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
react+webpack+webstorm開(kāi)發(fā)環(huán)境搭建需要安裝的軟件 node.js npm包管理 以上兩個(gè)包的下載地址如下: https://nodejs.org/dist/v6.3.0/node-v6.3.0.pkg 由于6...