ERRORin ./js/entry.js
Module not found: Error: Can't resolve 'style' in'F:\htdocs\webpack.cn'
BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.
You need to specify 'style-loader' instead of'style',
see https://webpack.js.org/guides/migrating/#automatic-loader-m odule-name-extension-removed
ERROR in ./js/entry.js
Module build failed: TypeError: fileSystem.statSync is not a function
at module.exports (/Users/liuyi/study/webpack2/node_modules/babel-loader/lib/utils/exists.js:7:25)
at find (/Users/liuyi/study/webpack2/node_modules/babel-loader/lib/resolve-rc.js:13:9)
at Object.module.exports (/Users/liuyi/study/webpack2/node_modules/babel-loader/lib/index.js:113:132)
SyntaxError: Invalid or unexpected token
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:599:28)
at Object.Module._extensions…js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at requireConfig (C:\Users\janicerant\AppData\Roaming\np
m\node_modules\webpack\bin\convert-argv.js:97:18)
The CLI moved into a separate package: webpack-cli.
Please install'webpack-cli'in addition to webpack itself touse the CLI.
-> Whenusing npm: npm install webpack-cli -D
-> Whenusing yarn: yarn add webpack-cli -D