Skip to content
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

Updating dependency by ng update causing error #95

Open
ren276 opened this issue Apr 28, 2022 · 0 comments
Open

Updating dependency by ng update causing error #95

ren276 opened this issue Apr 28, 2022 · 0 comments

Comments

@ren276
Copy link

ren276 commented Apr 28, 2022

Bug Report

Screenshot (325)

ERROR

The "@angular-devkit/schematics" package cannot be resolved from the workspace root directory. This may be due to an unsupported node modules structure.
Please remove both the "node_modules" directory and the package lock file; and then reinstall.
If this does not correct the problem, please temporarily install the "@angular-devkit/schematics" package within
the workspace. It can be removed once the update is complete.

What is the expected behavior?

  • it should update the dependency I want to update through ng update

Which version of Angular and Material, and which browser and OS does this issue affect?

Angular 9 and material too version 9 as a dependency and windows os

Did this work in previous versions of Angular / Material?
No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant