nx migrate Cannot find module @angular-devkit/architect
See original GitHub issueI’m trying to migrate from 11.0 to 11.2.
I’m getting following error:
Running migration rename-workspace-schematic-script
Cannot find module '@angular-devkit/architect'
Require stack:
- /private/var/folders/qg/mf99k0fs14g8sptzqrsp0_nr0000gn/T/tmp-5948XY2ZBOgXzEfX/node_modules/@nrwl/tao/src/commands/ngcli-adapter.js
- /private/var/folders/qg/mf99k0fs14g8sptzqrsp0_nr0000gn/T/tmp-5948XY2ZBOgXzEfX/node_modules/@nrwl/tao/src/commands/migrate.js
- /private/var/folders/qg/mf99k0fs14g8sptzqrsp0_nr0000gn/T/tmp-5948XY2ZBOgXzEfX/node_modules/@nrwl/tao/index.js
Command failed: /var/folders/qg/mf99k0fs14g8sptzqrsp0_nr0000gn/T/tmp-5948XY2ZBOgXzEfX/node_modules/.bin/tao migrate --run-migrations=migrations.json
I tried to add the package to the dev dependencies, but it did not change anything.
Environment:
Node : 14.15.4
OS : darwin x64
npm : 6.14.11
nx : Not Found
@nrwl/angular : 11.2.0
@nrwl/cli : 11.2.0
@nrwl/cypress : 11.2.0
@nrwl/devkit : 11.2.0
@nrwl/eslint-plugin-nx : Not Found
@nrwl/express : Not Found
@nrwl/jest : 11.2.0
@nrwl/linter : 11.2.0
@nrwl/nest : 11.2.0
@nrwl/next : Not Found
@nrwl/node : 11.2.0
@nrwl/react : Not Found
@nrwl/schematics : Not Found
@nrwl/tao : 11.2.0
@nrwl/web : Not Found
@nrwl/workspace : 11.2.0
typescript : 4.0.5
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:32 (5 by maintainers)
Top Results From Across the Web
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 >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 >Cannot find module '@angular-devkit/core' - Stack Overflow
Try the following steps,. Step 1: npm update -g @angular/cli. Step 2: Edit your package.json changing the line. "@angular/cli": "1.6.0",.
Read more >angular-devkit/core - npm
The workspaces namespace provides an API for interacting with the workspace file formats. It provides an abstraction of the underlying storage ...
Read more >angular/angular-cli - Gitter
Error: Cannot find module 'C:\Program Files\Git\node_modules\@angular\cli\bin\ng'. Are the 2 script files at C:\Users\Brad\AppData\Roaming\npm\ng and ...
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
You should know I’m experiencing the same problem too. btw, in case someone is curious, I’m vegan!
Leaving a comment to keep the issue alive. @FrozenPandaz could you take another look at this?