-
Notifications
You must be signed in to change notification settings - Fork 141
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 while adding with ng add in Angular v 13.2.0 #211
Comments
Related with #125 |
Can confirm, I'm also getting this error in Angular 14.0.2 |
I'm facing same error, Cannot find module 'ngx-spinner' or its corresponding type declarations. in Angular 13.3.11 |
Facing the same issue, do not see schematics under ngx-spinner module and get the same error. Can we get some help with this? |
$ ng add ngx-spinner |
I have resolved the issue by copying all the css files from node_modules/ngx-spinner/animations and placing them in my assets directory. Afterward, imported the relevant stylesheet in style.css as follows: @import ‘src/assets/<spinner.css> Update the import statement by giving the correct filename. |
No problem with Angular@~13 Handco |
I uninstalled spinner with
and reinstalled with
Now that's work well. This works for me, hope this works for you as well. |
Same issue is in the angular 16 as well. |
Error while adding with:
ng add ngx-spinner
I am using it in Angular 13.2.0
Getting following error:
Error: An unhandled exception occurred: Collection "/Users/rajendrakhope/Documents/Dev/Angular/lib-upgrade/iag-base-ui/node_modules/ngx-spinner/schematics/collection.json" cannot be resolved.
The text was updated successfully, but these errors were encountered: