hgsgtk / react_webpack_modify

2016/7から更新したバージョンでのコンパイル失敗に対する調査・解決試行記録
1 stars 0 forks source link

Module build failed: Error #2

Open hgsgtk opened 7 years ago

hgsgtk commented 7 years ago

$npm start時のエラー

ERROR in ./src/index.jsx Module build failed: Error at generateError (/Users/higashiguchi0kazuki/Documents/sourcecode/private/web/react_redux_introduction/node_modules/eslint/node_modules/js-yaml/lib/js-yaml/loader.js:162:10) at throwError (/Users/higashiguchi0kazuki/Documents/sourcecode/private/web/react_redux_introduction/node_modules/eslint/node_modules/js-yaml/lib/js-yaml/loader.js:168:9) at readFlowCollection (/Users/higashiguchi0kazuki/Documents/sourcecode/private/web/react_redux_introduction/node_modules/eslint/node_modules/js-yaml/lib/js-yaml/loader.js:690:7) at composeNode (/Users/higashiguchi0kazuki/Documents/sourcecode/private/web/react_redux_introduction/node_modules/eslint/node_modules/js-yaml/lib/js-yaml/loader.js:1332:11) at readFlowCollection (/Users/higashiguchi0kazuki/Documents/sourcecode/private/web/react_redux_introduction/node_modules/eslint/node_modules/js-yaml/lib/js-yaml/loader.js:718:7) at composeNode (/Users/higashiguchi0kazuki/Documents/sourcecode/private/web/react_redux_introduction/node_modules/eslint/node_modules/js-yaml/lib/js-yaml/loader.js:1332:11) at readBlockMapping (/Users/higashiguchi0kazuki/Documents/sourcecode/private/web/react_redux_introduction/node_modules/eslint/node_modules/js-yaml/lib/js-yaml/loader.js:1008:16) at composeNode (/Users/higashiguchi0kazuki/Documents/sourcecode/private/web/react_redux_introduction/node_modules/eslint/node_modules/js-yaml/lib/js-yaml/loader.js:1331:12) at readDocument (/Users/higashiguchi0kazuki/Documents/sourcecode/private/web/react_redux_introduction/node_modules/eslint/node_modules/js-yaml/lib/js-yaml/loader.js:1493:3) at loadDocuments (/Users/higashiguchi0kazuki/Documents/sourcecode/private/web/react_redux_introduction/node_modules/eslint/node_modules/js-yaml/lib/js-yaml/loader.js:1549:5) @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/index.jsx

ERROR in ./src/main.css Module parse failed: /Users/higashiguchi0kazuki/Documents/sourcecode/private/web/react_redux_introduction/src/main.css Unexpected token (1:4) You may need an appropriate loader to handle this file type. | html{ | font-family: 'Roboto', sans-serif; | } @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.css

ERROR in ./src/index.html Module parse failed: /Users/higashiguchi0kazuki/Documents/sourcecode/private/web/react_redux_introduction/src/index.html Unexpected token (1:0) You may need an appropriate loader to handle this file type. | <!DOCTYPE html> | | @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/index.html

ERROR in chunk html [entry] bundle.js Conflict: Multiple assets emit to the same filename bundle.js

ERROR in chunk jsx [entry] bundle.js Conflict: Multiple assets emit to the same filename bundle.js

hgsgtk commented 7 years ago

eslintのversionは4.0です。

npm list | grep eslint [~/Documents/sourcecode/private/web/react_redux_introduction] ├─┬ babel-eslint@7.2.3 ├─┬ eslint@4.1.1 │ ├─┬ eslint-scope@3.7.1 ├─┬ eslint-loader@1.9.0 ├─┬ eslint-plugin-react@7.1.0