Skip to content

Instantly share code, notes, and snippets.

@localnerve
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save localnerve/12ae32a69a9cbae753ff to your computer and use it in GitHub Desktop.
Save localnerve/12ae32a69a9cbae753ff to your computer and use it in GitHub Desktop.
webpack/react-starter error --display-error-details
agrant@bitbuckler:~/var/www/content/react-test$ npm run build
> react-starter@0.0.0 build /home/agrant/var/www/content/react-test
> webpack --config webpack-production.config.js --progress --profile --colors --display-error-details
61878ms build modules
2ms optimize
2ms hashingg
13ms create chunk assets
1ms additional chunk assets
1ms optimize chunk assets
0ms optimize assets
68% 169/172 buil86ms emit
1988ms build modules
14ms optimize
41ms build modules
21ms hashing
377ms create chunk assets
3ms additional chunk assets
0ms optimize chunk assets
1ms optimize assets
61ms emit
Hash: 4537421805ff1718697a3aef6a6a7a7d96bf2f4f
Version: webpack 1.4.4
ERROR in (undefined) ./config/prerender.jsx?Main
Module not found: Error: Cannot resolve module 'html-loader' in /home/agrant/var/www/content/react-test/config
resolve module html-loader in /home/agrant/var/www/content/react-test/config
looking for modules in /home/agrant/var/www/content/react-test/node_modules
module variation html-loader-webpack-node-loader
/home/agrant/var/www/content/react-test/node_modules/html-loader-webpack-node-loader doesn't exist (module as directory)
resolve 'file' html-loader-webpack-node-loader in /home/agrant/var/www/content/react-test/node_modules
resolve file
/home/agrant/var/www/content/react-test/node_modules/html-loader-webpack-node-loader doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-webpack-node-loader.webpack-node-loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-webpack-node-loader.loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-webpack-node-loader.js doesn't exist
module variation html-loader-node-loader
/home/agrant/var/www/content/react-test/node_modules/html-loader-node-loader doesn't exist (module as directory)
resolve 'file' html-loader-node-loader in /home/agrant/var/www/content/react-test/node_modules
resolve file
/home/agrant/var/www/content/react-test/node_modules/html-loader-node-loader doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-node-loader.webpack-node-loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-node-loader.loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-node-loader.js doesn't exist
module variation html-loader-loader
/home/agrant/var/www/content/react-test/node_modules/html-loader-loader doesn't exist (module as directory)
resolve 'file' html-loader-loader in /home/agrant/var/www/content/react-test/node_modules
resolve file
/home/agrant/var/www/content/react-test/node_modules/html-loader-loader doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-loader.webpack-node-loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-loader.loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-loader.js doesn't exist
module variation html-loader
/home/agrant/var/www/content/react-test/node_modules/html-loader doesn't exist (module as directory)
resolve 'file' html-loader in /home/agrant/var/www/content/react-test/node_modules
resolve file
/home/agrant/var/www/content/react-test/node_modules/html-loader doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader.webpack-node-loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader.loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader.js doesn't exist
looking for modules in /home/agrant/var/www/content/react-test/node_modules
module variation html-loader-webpack-node-loader
/home/agrant/var/www/content/react-test/node_modules/html-loader-webpack-node-loader doesn't exist (module as directory)
resolve 'file' html-loader-webpack-node-loader in /home/agrant/var/www/content/react-test/node_modules
resolve file
/home/agrant/var/www/content/react-test/node_modules/html-loader-webpack-node-loader doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-webpack-node-loader.webpack-node-loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-webpack-node-loader.loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-webpack-node-loader.js doesn't exist
module variation html-loader-node-loader
/home/agrant/var/www/content/react-test/node_modules/html-loader-node-loader doesn't exist (module as directory)
resolve 'file' html-loader-node-loader in /home/agrant/var/www/content/react-test/node_modules
resolve file
/home/agrant/var/www/content/react-test/node_modules/html-loader-node-loader doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-node-loader.webpack-node-loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-node-loader.loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-node-loader.js doesn't exist
module variation html-loader-loader
/home/agrant/var/www/content/react-test/node_modules/html-loader-loader doesn't exist (module as directory)
resolve 'file' html-loader-loader in /home/agrant/var/www/content/react-test/node_modules
resolve file
/home/agrant/var/www/content/react-test/node_modules/html-loader-loader doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-loader.webpack-node-loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-loader.loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-loader.js doesn't exist
module variation html-loader
/home/agrant/var/www/content/react-test/node_modules/html-loader doesn't exist (module as directory)
resolve 'file' html-loader in /home/agrant/var/www/content/react-test/node_modules
resolve file
/home/agrant/var/www/content/react-test/node_modules/html-loader doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader.webpack-node-loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader.loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader.js doesn't exist
looking for modules in /home/agrant/node_modules
module variation html-loader-webpack-node-loader
/home/agrant/node_modules/html-loader-webpack-node-loader doesn't exist (module as directory)
resolve 'file' html-loader-webpack-node-loader in /home/agrant/node_modules
resolve file
/home/agrant/node_modules/html-loader-webpack-node-loader doesn't exist
/home/agrant/node_modules/html-loader-webpack-node-loader.webpack-node-loader.js doesn't exist
/home/agrant/node_modules/html-loader-webpack-node-loader.loader.js doesn't exist
/home/agrant/node_modules/html-loader-webpack-node-loader.js doesn't exist
module variation html-loader-node-loader
/home/agrant/node_modules/html-loader-node-loader doesn't exist (module as directory)
resolve 'file' html-loader-node-loader in /home/agrant/node_modules
resolve file
/home/agrant/node_modules/html-loader-node-loader doesn't exist
/home/agrant/node_modules/html-loader-node-loader.webpack-node-loader.js doesn't exist
/home/agrant/node_modules/html-loader-node-loader.loader.js doesn't exist
/home/agrant/node_modules/html-loader-node-loader.js doesn't exist
module variation html-loader-loader
/home/agrant/node_modules/html-loader-loader doesn't exist (module as directory)
resolve 'file' html-loader-loader in /home/agrant/node_modules
resolve file
/home/agrant/node_modules/html-loader-loader doesn't exist
/home/agrant/node_modules/html-loader-loader.webpack-node-loader.js doesn't exist
/home/agrant/node_modules/html-loader-loader.loader.js doesn't exist
/home/agrant/node_modules/html-loader-loader.js doesn't exist
module variation html-loader
/home/agrant/node_modules/html-loader doesn't exist (module as directory)
resolve 'file' html-loader in /home/agrant/node_modules
resolve file
/home/agrant/node_modules/html-loader doesn't exist
/home/agrant/node_modules/html-loader.webpack-node-loader.js doesn't exist
/home/agrant/node_modules/html-loader.loader.js doesn't exist
/home/agrant/node_modules/html-loader.js doesn't exist
@ ./config/prerender.jsx?Main 5:11-43
Child
Hash: 4537421805ff1718697a
Version: webpack 1.4.4
Time: 2533ms
Asset Size Chunks Chunk Names
main.js?80daebf5556599407597 622880 0 [emitted] main
1.js?de89b83379eb584a0276 824 1 [emitted]
main.css 100 [emitted]
[46] ./app/Example/init.js 81 {0} [built]
... -> factory:124ms building:577ms
[114] ./app/Example/ClicksStore.js 472 {0} [built]
... -> [46] 701ms -> factory:70ms building:332ms dependencies:15ms
[115] ./app/Example/ValueStore.js 524 {0} [built]
... -> [46] 701ms -> factory:70ms building:349ms dependencies:67ms
[116] ./app/Example/ServerSyncStore.js 1058 {0} [built]
... -> [46] 701ms -> factory:71ms building:351ms dependencies:64ms
[161] ./app/Example/Actions.js 661 {0} [built]
... -> [46] 701ms -> [114] 402ms -> factory:70ms building:312ms dependencies:0ms
+ 168 hidden modules
Child extract-text-webpack-plugin:
+ 1 hidden modules
Child extract-text-webpack-plugin:
+ 1 hidden modules
Child
Hash: 3aef6a6a7a7d96bf2f4f
Version: webpack 1.4.4
Time: 1989ms
Asset Size Chunks Chunk Names
main.js 9717 0 [emitted] main
[5] ./app/Example/init.js 81 {0} [built]
... -> factory:78ms building:362ms
[8] ./app/Example/ClicksStore.js 472 {0} [built]
... -> [5] 440ms -> factory:65ms building:602ms dependencies:1ms
[9] ./app/Example/ValueStore.js 524 {0} [built]
... -> [5] 440ms -> factory:65ms building:605ms dependencies:60ms
[10] ./app/Example/ServerSyncStore.js 1058 {0} [built]
... -> [5] 440ms -> factory:67ms building:604ms dependencies:59ms
[14] ./app/Example/Actions.js 661 {0} [built]
... -> [5] 440ms -> [8] 667ms -> factory:61ms building:287ms dependencies:0ms
+ 13 hidden modules
ERROR in ./config/prerender.jsx?Main
Module not found: Error: Cannot resolve module 'html-loader' in /home/agrant/var/www/content/react-test/config
resolve module html-loader in /home/agrant/var/www/content/react-test/config
looking for modules in /home/agrant/var/www/content/react-test/node_modules
module variation html-loader-webpack-node-loader
/home/agrant/var/www/content/react-test/node_modules/html-loader-webpack-node-loader doesn't exist (module as directory)
resolve 'file' html-loader-webpack-node-loader in /home/agrant/var/www/content/react-test/node_modules
resolve file
/home/agrant/var/www/content/react-test/node_modules/html-loader-webpack-node-loader doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-webpack-node-loader.webpack-node-loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-webpack-node-loader.loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-webpack-node-loader.js doesn't exist
module variation html-loader-node-loader
/home/agrant/var/www/content/react-test/node_modules/html-loader-node-loader doesn't exist (module as directory)
resolve 'file' html-loader-node-loader in /home/agrant/var/www/content/react-test/node_modules
resolve file
/home/agrant/var/www/content/react-test/node_modules/html-loader-node-loader doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-node-loader.webpack-node-loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-node-loader.loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-node-loader.js doesn't exist
module variation html-loader-loader
/home/agrant/var/www/content/react-test/node_modules/html-loader-loader doesn't exist (module as directory)
resolve 'file' html-loader-loader in /home/agrant/var/www/content/react-test/node_modules
resolve file
/home/agrant/var/www/content/react-test/node_modules/html-loader-loader doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-loader.webpack-node-loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-loader.loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-loader.js doesn't exist
module variation html-loader
/home/agrant/var/www/content/react-test/node_modules/html-loader doesn't exist (module as directory)
resolve 'file' html-loader in /home/agrant/var/www/content/react-test/node_modules
resolve file
/home/agrant/var/www/content/react-test/node_modules/html-loader doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader.webpack-node-loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader.loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader.js doesn't exist
looking for modules in /home/agrant/var/www/content/react-test/node_modules
module variation html-loader-webpack-node-loader
/home/agrant/var/www/content/react-test/node_modules/html-loader-webpack-node-loader doesn't exist (module as directory)
resolve 'file' html-loader-webpack-node-loader in /home/agrant/var/www/content/react-test/node_modules
resolve file
/home/agrant/var/www/content/react-test/node_modules/html-loader-webpack-node-loader doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-webpack-node-loader.webpack-node-loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-webpack-node-loader.loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-webpack-node-loader.js doesn't exist
module variation html-loader-node-loader
/home/agrant/var/www/content/react-test/node_modules/html-loader-node-loader doesn't exist (module as directory)
resolve 'file' html-loader-node-loader in /home/agrant/var/www/content/react-test/node_modules
resolve file
/home/agrant/var/www/content/react-test/node_modules/html-loader-node-loader doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-node-loader.webpack-node-loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-node-loader.loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-node-loader.js doesn't exist
module variation html-loader-loader
/home/agrant/var/www/content/react-test/node_modules/html-loader-loader doesn't exist (module as directory)
resolve 'file' html-loader-loader in /home/agrant/var/www/content/react-test/node_modules
resolve file
/home/agrant/var/www/content/react-test/node_modules/html-loader-loader doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-loader.webpack-node-loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-loader.loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader-loader.js doesn't exist
module variation html-loader
/home/agrant/var/www/content/react-test/node_modules/html-loader doesn't exist (module as directory)
resolve 'file' html-loader in /home/agrant/var/www/content/react-test/node_modules
resolve file
/home/agrant/var/www/content/react-test/node_modules/html-loader doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader.webpack-node-loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader.loader.js doesn't exist
/home/agrant/var/www/content/react-test/node_modules/html-loader.js doesn't exist
looking for modules in /home/agrant/node_modules
module variation html-loader-webpack-node-loader
/home/agrant/node_modules/html-loader-webpack-node-loader doesn't exist (module as directory)
resolve 'file' html-loader-webpack-node-loader in /home/agrant/node_modules
resolve file
/home/agrant/node_modules/html-loader-webpack-node-loader doesn't exist
/home/agrant/node_modules/html-loader-webpack-node-loader.webpack-node-loader.js doesn't exist
/home/agrant/node_modules/html-loader-webpack-node-loader.loader.js doesn't exist
/home/agrant/node_modules/html-loader-webpack-node-loader.js doesn't exist
module variation html-loader-node-loader
/home/agrant/node_modules/html-loader-node-loader doesn't exist (module as directory)
resolve 'file' html-loader-node-loader in /home/agrant/node_modules
resolve file
/home/agrant/node_modules/html-loader-node-loader doesn't exist
/home/agrant/node_modules/html-loader-node-loader.webpack-node-loader.js doesn't exist
/home/agrant/node_modules/html-loader-node-loader.loader.js doesn't exist
/home/agrant/node_modules/html-loader-node-loader.js doesn't exist
module variation html-loader-loader
/home/agrant/node_modules/html-loader-loader doesn't exist (module as directory)
resolve 'file' html-loader-loader in /home/agrant/node_modules
resolve file
/home/agrant/node_modules/html-loader-loader doesn't exist
/home/agrant/node_modules/html-loader-loader.webpack-node-loader.js doesn't exist
/home/agrant/node_modules/html-loader-loader.loader.js doesn't exist
/home/agrant/node_modules/html-loader-loader.js doesn't exist
module variation html-loader
/home/agrant/node_modules/html-loader doesn't exist (module as directory)
resolve 'file' html-loader in /home/agrant/node_modules
resolve file
/home/agrant/node_modules/html-loader doesn't exist
/home/agrant/node_modules/html-loader.webpack-node-loader.js doesn't exist
/home/agrant/node_modules/html-loader.loader.js doesn't exist
/home/agrant/node_modules/html-loader.js doesn't exist
@ ./config/prerender.jsx?Main 5:11-43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment