Cannot find module '@angular-devkit/core'
See original GitHub issueWhen trying to generate the API I get “Cannot find module ‘@angular-devkit/core’”
Require stack:
- C:\Users\Adrian Wix\Code\agency\go-playground\node_modules\@nrwl\tao\src\commands\ngcli-adapter.js
- C:\Users\Adrian Wix\Code\agency\go-playground\node_modules\@nrwl\tao\src\commands\generate.js
- C:\Users\Adrian Wix\Code\agency\go-playground\node_modules\@nrwl\tao\index.js
- C:\Users\Adrian Wix\Code\agency\go-playground\node_modules\@nrwl\cli\lib\init-local.js
- C:\Users\Adrian Wix\Code\agency\go-playground\node_modules\@nrwl\cli\bin\nx.js
- C:\Users\Adrian Wix\AppData\Roaming\npm\node_modules\nx\node_modules\@nrwl\cli\bin\nx.js
- C:\Users\Adrian Wix\AppData\Roaming\npm\node_modules\nx\bin\nx.js
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Cannot find module '@angular-devkit/core' - Stack Overflow
I did it by deleting package-lock.json and the node_modules folder. After that run "npm install" and start the application again. Share.
Read more >Could not find module '@angular-devkit/build-angular'
To solve the error "Could not find module '@angular-devkit/build-angular'", make sure to install the package by opening your terminal in your project's root ......
Read more >An unhandled exception occurred: Cannot find module ...
It appears that the package manager is placing some of the dependencies required by the migrations within @angular/core (and potentially @ ...
Read more >Fixing Could not find module @angular-devkit/build-angular ...
Solution 1: Delete node_modules folder and run npm install · Solution 2 : Install @angular-devkit/build-angular package as a dev dependency.
Read more >Exception - Could Not Find Module “@angular-devkit/build ...
This error occurs because of missing dev dependency which is introduced newly in Angular 6.0 and above. ... In most of the cases,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
i was able to “fix” this by editing the file
node_modules/@nx-go/nx-go/src/schematics/application/schema.json
and changingid
to$id
. After that re run the plugin, it will work. Also, when running thenx build <app-name>
command, you’ll get similar error ‘Cannot find module @angular-devkit/architect’. Install that dependency to make it work. For now all of the scripts are working, i’m just getting this warning that I hope doesn’t cause issues in the future:The workaround is to manually install below packages.