-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Cannot find module 'webpack/bin/config-optimist' #1459
Comments
Doing my own homework. Looks like config optimist used to be in that location: I'm wondering what would be referencing the old file... |
Oh! I forgot to install(upgrade) webpack-cli and webpack-dev-server globally! Sorry to create noise here. |
After I update to the latest version, I still can’t package it ,
How can i solve it, thanks |
change |
@alexander-akait... What does that mean? What should we change, and where within |
Bug report
What is the current behavior?
I try to start dev server, but I get this error:
If the current behavior is a bug, please provide the steps to reproduce.
I run the dev server from the command line using my config:
webpack-dev-server --config webpack.config.development.js
I just upgraded from webpack-dev-server v2 -> v3 and webpack v3 -> v4. I didn't have this problem with v2+v3.
Looks like there was a similar issue here:
mzgoddard/jest-webpack#27
I have tried deleting my node_modules folder and rerunning
npm install
, which did not fix the issue.What is the expected behavior?
It should be able to find the config-optimist file and start the server.
Other relevant information:
my package.json
Node.js version: 10.8.0
Operating System:
OSX 10.13.4
Additional tools:
npm v 6.2.0
Thanks for any help on this! I'm definitely stuck on this one.
The text was updated successfully, but these errors were encountered: