-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Ng Serve fails at 95% - TypeError: callbacks[i] is not a function #9550
Comments
The same here |
Same issue here |
Linked to #9549 |
Same here :( |
Show we revert to a previous version? |
Same here yesterday it worked but today I m also getting same error. |
same. just got this error today. |
First time I'm trying Angular. Not a good day lol |
I'm in the same boat with @pedrokelvin |
Same! |
Same here - it was working fine on yesterday.
|
I have the same problem.
Versions@angular/core": "^5.2.4 Dependencies"webpack": "3.10.0", |
Please use reactions for "me too" comments. My inbox would appreciate it, thanks! |
Me too |
2 similar comments
Me too |
Me too |
Me too. |
@skorunka tried the same — didn't work for me
|
Looks like something is superbroken, but i don't know what to do. I tried to downgrade cli to 1.6.7 but it didn't work. |
Line 59 in 8ff9533
Those who use semver are probably big fans of issues described in this thread.
|
same problem here... we are blocked on so many levels! |
same for me |
same problem here too... :( |
some other deps prevent me from using 1.6.6 which worked until today. |
same problem here :( |
A rollback to ~1.3.0 in your package.json fixes the issue for me as it removes the dependency on copy-webpack-plugin but it's not exactly something I want to keep long term. |
Same here and I had the same problem last month with angular-cli 1.5.x (but a different issue: angular-devkit/core not found). |
same for me!
|
$ npm install copy-webpack-plugin@4.3.0 |
Hi all,
A big thanks to the Webpack folks, especially @evilebottnawi, for looking investigating this problem and releasing a new version so quickly. Using npm, follow these steps to force update:
I used npm 5.6.0 for this, and recommend you use at least that version as well since it has lockfile support and solves some npm problems with windows. @kylecordes has also offered some advice for Yarn users in #9550 (comment). I'd like to remind everyone that you only have reproducible installs if you use a lockfile. Both NPM v5+ and Yarn support lockfiles. If your CI works one day but not the next and you did not change your code or It is your responsibility as a library consumer to use lockfiles. No one wants to do a release with bugs but it sometimes happens, and the best we can do is to fix it as fast as possible with a new release. When you have a couple of thousand total dependencies it is only a matter of time until one of them has a bad release. I am going to close this topic for now so that my answer will be the most visible for anyone experiencing this issue. I'm sorry to remove your ability to comment on it but for new users it would be very hard to find the solution with so many comments coming up. I will reopen in a few hours. |
New release!! from copy-webpack-plugin |
Leaving issue opened for now to increase visibility, but will close later when reopening comments. For any new users coming into this issue, please check my comment just above regarding the resolution. |
aangepast: versie van copy-webpack-plugin opgehoogd omwille van upstream up. angular/angular-cli#9550.
the only way to resolve this issue is to use a previous version of the @angular/cli. Which is version 1.6.1 and before |
I have only been able to solve this as well by reverting version of @angular/cli to 1.60 or 1.6.1. |
Uninstall and reinstall angular cli again. Issue is already solved |
This has been solved by a new release of the copy webpack plugin. |
With me, works only after reinstalling @angular/cli and, in addition, delete package-lock.json, remove node_modules and reinstall packages |
deleting package-lock.json and npm install copy-webpack-plugin@4.3.0 worked for us. Cheers!!! |
So, I was facing the same problem.
It is working now. Cheers |
I made downgrade compiler-cli up to 5.2.3 and I started |
npm install copy-webpack-plugin@4.3.0 --save Its Working For Me ..Thanks :) |
Hi team, have you planned a patch in the angular-cli in order to fix this issue? thank you in advance. |
@albertnadal a patch isn't required to fix this issue as it was to do with a dependency which has now fixed, npm install / clearing npm cache then installing should fix the issue |
Angular CLI: 1.6.8 angular/cli: 1.6.8 Thank's |
so error was in in third party lib "copy-webpack-plugin": "^4.1.1", so maybe npm community need to be less optimistic about semantic versioning angular can start first and lets hope that other npm projects will follow it is not first (last) time this stuff happened it could be even worst another option is maybe to have in npm option to run it without semantic versioning of course this is not ng cli problem it is general problem with semantic versioning angular team is doing great job and lets hope that they will attack |
@topce upravu si svega ovoga nebi bilo 😂 |
After a new installation and package update from package.json, "ng test" still gives errors. The following solutions, found on Internet, did not work for me:
The only good option was to downgrade "jasmine-core" to "2.99.0" Here are the dependencies used: "dependencies": { |
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. |
Versions
Repro steps
MacBook-Pro:~ daniel$ ng new test-proj
...
Installed packages for tooling via npm.
Successfully initialized git.
Project 'test-proj' successfully created.
MacBook-Pro:~ daniel$ cd test-proj/
MacBook-Pro:test-proj daniel$ npm install
up to date in 6.008s
MacBook-Pro:test-proj daniel$ ng serve
Observed behavior
Desired behavior
For build to be 100% successful and served to browser
The text was updated successfully, but these errors were encountered: