-
Notifications
You must be signed in to change notification settings - Fork 12k
ng add @angular/pwa generate an unhandled exception occurred: Cannot find module '@schematics/angular/utility' #23343
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
Closed
2 of 15 tasks
Labels
area: @angular/pwa
freq1: low
Only reported by a handful of users who observe it rarely
severity5: regression
type: bug/fix
Comments
@k4rm3l0 can you please try to run |
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this issue
Jun 10, 2022
The peer dependency is needed so that the correct version that matches the installed Angular CLI is installed. (cherry picked from commit d59ba31) Closes angular#23343
@alan-agius4 it worked! |
Closed via #23344 |
piotrszymanski
added a commit
to piotrszymanski/pwa-experiment-one
that referenced
this issue
Jun 20, 2022
Ran: ng add @angular/pwa@13 as the latest version (14) was giving errors due to this bug: angular/angular-cli#23343
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area: @angular/pwa
freq1: low
Only reported by a handful of users who observe it rarely
severity5: regression
type: bug/fix
🐞 Bug report
Command
Description
Command "ng add @angular/pwa" generate an unhandled exception occurred: Cannot find module '@schematics/angular/utility'
🔬 Minimal Reproduction
ng add @angular/pwa --project my.project
🔥 Exception or Error
ℹ Using package manager: npm
✔ Found compatible package version: @angular/[email protected].
✔ Package information loaded.
The package @angular/[email protected] will be installed and executed.
Would you like to proceed? Yes
✔ Package successfully installed.
An unhandled exception occurred: Cannot find module '@schematics/angular/utility'
Require stack:
See "/private/var/folders/kk/7f9l6gdn0mjcvzmzbn9vfxz40000gn/T/ng-lcv9gi/angular-errors.log" for further details.
🌍 Your Environment
The text was updated successfully, but these errors were encountered: