Ask A Question

Notifications

You’re not receiving notifications from this thread.

Webpack-cli package 3.3.12 -> 4.1.0 upgrade breaking Webpack

Tony Dehnke asked in General

Running into an issue with package upgrade with Webpack-cli from 3.3.12 to 4.1.0

This breaks my local environment for running the web-development-server command.

Lots of info here: https://github.com/webpack/webpack-dev-server/issues/2424

Seems to be some changes to the command name.. now: bin/webpack serve

Also running the new command creates this error:

ERROR in Entry module not found: Error: Can't resolve './src' in '/Users/tdehnke/workspace/12vBiz'

ERROR in multi (webpack)-dev-server/client?http://localhost:8080 ./src
Module not found: Error: Can't resolve './src' in '/Users/tdehnke/workspace/12vBiz'
@ multi (webpack)-dev-server/client?http://localhost:8080 ./src main[1]```

Has anyone else run into this or found a solution?
Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 85,376+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.