Webpack: Error in 1.9.11: Cannot resolve module 'build' in /home/...

Created on 16 Jun 2015  路  3Comments  路  Source: webpack/webpack

Version: webpack 1.9.11
Time: 8622ms
   [0] multi main 40 bytes {0} [built] [1 error]
       factory:0ms building:1ms = 1ms
    + 421 hidden modules

ERROR in multi main
Module not found: Error: Cannot resolve module 'build' in /home/user/project/
resolve module build in /home/user/project
  looking for modules in /home/user/project/node_modules
    /home/user/project/node_modules/build doesn't exist (module as directory)
    resolve 'file' build in /home/user/project/node_modules
      resolve file
        /home/user/project/node_modules/build doesn't exist
        /home/user/project/node_modules/build.js doesn't exist
        /home/user/project/node_modules/build.jsx doesn't exist
[/home/user/project/node_modules/build]
[/home/user/project/node_modules/build]
[/home/user/project/node_modules/build.js]
[/home/user/project/node_modules/build.jsx]
 @ multi main
Child extract-text-webpack-plugin:
        + 8 hidden modules

only happens in 1.9.11 - what is going on?

Most helpful comment

I recognized $ webpack build is deprecated or something, $ webpack made the beast work again.

All 3 comments

:+1:

I recognized $ webpack build is deprecated or something, $ webpack made the beast work again.

Had the same issue using webpack-dev-server build. Removing the build worked like a charm.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Tjorriemorrie picture Tjorriemorrie  路  3Comments

abergs picture abergs  路  3Comments

shairez picture shairez  路  3Comments

olalonde picture olalonde  路  3Comments

nwhite89 picture nwhite89  路  3Comments