Cannot migrate from 11.6.3 to 12
See original GitHub issueCurrent Behavior
I cannot migrate my workspace from nx 11.6.3 to 12. Running the migrations I get the following error
> NX Running migrations from 'migrations.json'
Running migration update-ngcc-postinstall
Successfully finished update-ngcc-postinstall
---------------------------------------------------------
Running migration update-webpack-browser-config
Successfully finished update-webpack-browser-config
---------------------------------------------------------
Running migration update-storybook
Successfully finished update-storybook
---------------------------------------------------------
Running migration update-angular-eslint-rules
Successfully finished update-angular-eslint-rules
---------------------------------------------------------
Running migration convert-webpack-browser-build-target-to-delegate-build
Successfully finished convert-webpack-browser-build-target-to-delegate-build
---------------------------------------------------------
Running migration update-angular-config-v12
Cannot read property 'startsWith' of undefined
Alan from the Angular CLI Team answered my unrelated question in this issue. https://github.com/angular/angular-cli/issues/21075#issuecomment-856668743
Our libraries do not have a builder property.
Expected Behavior
I can migrate to nx 12
Environment
> NX Report complete - copy this into the issue template
Node : 14.15.5
OS : linux x64
npm : 6.14.13
nx : Not Found
@nrwl/angular : 12.3.6
@nrwl/cli : 12.3.6
@nrwl/cypress : 12.3.6
@nrwl/devkit : 12.3.6
@nrwl/eslint-plugin-nx : 12.3.6
@nrwl/express : 12.3.6
@nrwl/jest : 12.3.6
@nrwl/linter : 12.3.6
@nrwl/nest : Not Found
@nrwl/next : Not Found
@nrwl/node : 12.3.6
@nrwl/react : Not Found
@nrwl/schematics : Not Found
@nrwl/tao : 12.3.6
@nrwl/web : Not Found
@nrwl/workspace : 12.3.6
@nrwl/storybook : 12.3.6
@nrwl/gatsby : Not Found
typescript : 4.2.4
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Big Sur 11.6.3 not transferring items fro… - Apple Community
I have transferred older .mov docs and pdfs and pngs and m4as. Anyone else have a similar experience in transferring a .mov doc?...
Read more >Outdated macOS and How to Upgrade
If your computer is running macOS 10.14 Mojave or older, it will need to be updated or replaced to continue receiving security updates, ......
Read more >Apple has released Monterey 12.2, Big Sur 11.6.3 and ...
Apple has just released updates to Monterey and Big Sur, bringing them to 12.2 and 11.6.3 respectively, and Security Update 2022-001 for ...
Read more >5 Things to Know About the macOS Big Sur 11.6.3 Update
Apple's pushed a new macOS Big Sur 11.6.3 update to Mac users. ... If they can't help you, you might want to get...
Read more >How to upgrade from old Mac operating system to macOS ...
But Migration Assistant has its limits: in Catalina and Big Sur, you must migrate from a backup made from or a computer running...
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
Thanks @leosvelperez that clears a big question mark in my head. I will take a look which one of the projects do not a have a builder property
@mehrad-rafigh all targets in that project (
lint
andtest
) have abuilder
property. That project has all its targets correctly configured. I think you might be confusing thebuilder
property with having a target namedbuild
, that’s a different thing and having a specific target like that one is not a requirement. You need to check your projects’ targets (objects insidearchitect
) and see which one doesn’t have abuilder
property defined inside.