简体   繁体   中英

An unhandled exception occurred: Cannot find module '@schematics/angular/utility/project'

I have this problem when I try to create a component, I already try to install these:

npm install -D @angular/cli

npm i --save-dev @nativescript/schematics

But they did not work for me.

I really do not know the problem of this dependency and why always the problems is @schematics for me

I am running: Angular 10.0.1 npm 6.14.5 nativescript 6.7.4

Thanks for any help

enter image description here

I think there is an issue with @schematics/angular 10.0.1, tried 9.1.0 and works for me.

npm uninstall @schematics/angular
npm install @schematics/angular@9.1.0

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM