digital-bank-ui icon indicating copy to clipboard operation
digital-bank-ui copied to clipboard

Updating dependency by ng update causing error

Open ren276 opened this issue 2 years ago • 0 comments

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

ren276 avatar Apr 28 '22 14:04 ren276