-
Notifications
You must be signed in to change notification settings - Fork 12k
ERROR [preprocess]: Can not load "webpack"! TypeError: Cannot read property 'plugin' of undefined #7443
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
Comments
I ran into this same issue. I was able to add
to the devDependencies as a fix for a newly generated project but this temp fix did not work with another recently created app I developed. Currently still unable to fix my issue. |
+1 |
Upgrading to @angular/cli: 1.3.2 solved my issues. |
It appears you have a much older version of the CLI (still using the package name You will want to remove that package and install the current version... npm uninstall angular-cli -g
npm install @angular/cli -g Also, you'll want to ensure your versions are up to date, which you can find under prerequisites |
I got burned by this as well. I did see the message when running
However, I read this as a forewarning about something that would happen in the future, where I should have read it as something which was in the near-future of the long-ago-past, which means it's still in the past from where the present currently is. It would have been better if whoever typed the "forewarning" instead said something like "As of DATE, the angular-cli repository is deprecated and you should be using @angular/cli" |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
After installing angular cli, I ran the below commands and able to open the application on browser.
ng new my-dream-app
cd my-dream-app
ng serve
But inorder to do testing, executed ng test command, but getting the below issue. Not sure how to proceed further.
Could you please let me know if i did any mistake.
The text was updated successfully, but these errors were encountered: