question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot migrate from 11.6.3 to 12

See original GitHub issue

Current 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:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mehrad-rafighcommented, Jun 9, 2021

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

0reactions
leosvelperezcommented, Jun 9, 2021

@mehrad-rafigh all targets in that project (lint and test) have a builder property. That project has all its targets correctly configured. I think you might be confusing the builder property with having a target named build, 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 inside architect) and see which one doesn’t have a builder property defined inside.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found