css-modules / webpack-demo

Working demo of CSS Modules, using Webpack's css-loader in module mode
https://css-modules.github.io/webpack-demo/
1.49k stars 180 forks source link

The build seems to be broken? #24

Open dmitriz opened 8 years ago

dmitriz commented 8 years ago
 |master ✓| → npm start

> webpack-demo@1.0.0 start /Users/dmitrizaitsev/Repos/webpack-demo
> webpack-dev-server

http://localhost:8080/webpack-dev-server/
webpack result is served from /
content is served from /Users/dmitrizaitsev/Repos/webpack-demo
/Users/dmitrizaitsev/Repos/webpack-demo/node_modules/webpack-dev-middleware/middleware.js:106
            if(err) throw err;
                    ^

Error: Output file not found: "index.js"
    at ReactToHtmlWebpackPlugin.<anonymous> (/Users/dmitrizaitsev/Repos/webpack-demo/node_modules/react-to-html-webpack-plugin/index.js:19:15)
    at Compiler.applyPluginsAsync (/Users/dmitrizaitsev/Repos/webpack-demo/node_modules/tapable/lib/Tapable.js:71:13)
    at Compiler.emitAssets (/Users/dmitrizaitsev/Repos/webpack-demo/node_modules/webpack/lib/Compiler.js:226:7)
    at Watching.<anonymous> (/Users/dmitrizaitsev/Repos/webpack-demo/node_modules/webpack/lib/Compiler.js:54:18)
    at /Users/dmitrizaitsev/Repos/webpack-demo/node_modules/webpack/lib/Compiler.js:403:12
    at Compiler.next (/Users/dmitrizaitsev/Repos/webpack-demo/node_modules/tapable/lib/Tapable.js:67:11)
    at Compiler.<anonymous> (/Users/dmitrizaitsev/Repos/webpack-demo/node_modules/webpack/lib/CachePlugin.js:40:4)
    at Compiler.applyPluginsAsync (/Users/dmitrizaitsev/Repos/webpack-demo/node_modules/tapable/lib/Tapable.js:71:13)
    at Compiler.<anonymous> (/Users/dmitrizaitsev/Repos/webpack-demo/node_modules/webpack/lib/Compiler.js:400:9)
    at Compilation.<anonymous> (/Users/dmitrizaitsev/Repos/webpack-demo/node_modules/webpack/lib/Compilation.js:577:13)

npm ERR! Darwin 12.6.0
npm ERR! argv "/usr/local/bin/node" "/Users/dmitrizaitsev/.npm-global/bin/npm" "start"
npm ERR! node v4.2.4
npm ERR! npm  v3.5.3
npm ERR! code ELIFECYCLE
npm ERR! webpack-demo@1.0.0 start: `webpack-dev-server`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the webpack-demo@1.0.0 start script 'webpack-dev-server'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the webpack-demo package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     webpack-dev-server
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs webpack-demo
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls webpack-demo
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/dmitrizaitsev/Repos/webpack-demo/npm-debug.log