Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"FOREIGN KEY constraint failed" error NX >v19.7.0 #316

Closed
NickDub opened this issue Sep 11, 2024 · 9 comments
Closed

"FOREIGN KEY constraint failed" error NX >v19.7.0 #316

NickDub opened this issue Sep 11, 2024 · 9 comments

Comments

@NickDub
Copy link
Contributor

NickDub commented Sep 11, 2024

Hello, since NX v19.7.0, I have this error that block my CI:

image

I think it's linked to this new feature: nrwl/nx#26891

@TriPSs
Copy link
Owner

TriPSs commented Sep 11, 2024

Okay? How is this exactly linked to one of the packages here?

@NickDub
Copy link
Contributor Author

NickDub commented Sep 11, 2024

On this project, I use “@nx-extend/[email protected]" and "@nx-extend/[email protected]", while on others, where I don't use it, I don't have the problem.

@TriPSs
Copy link
Owner

TriPSs commented Sep 13, 2024

I cannot reproduce this issue locally, please provide steps.

@NickDub
Copy link
Contributor Author

NickDub commented Sep 13, 2024

Sorry, but we only have the problem on our CI environment. 😞
Maybe it has something to do with the fact that the peerDependency of "@nx-extend/gcp-task-runner" is:

  "peerDependencies": {
    "@nx/devkit": "^19.6.0"
  }

Could you update to version >19.7.0?

@TriPSs
Copy link
Owner

TriPSs commented Sep 13, 2024

Since it's prefixed with ^ 19.7 is also a accepted version, could you check your lockfile of older versions of Nx? And check what is installing them, also run nx report

@NickDub
Copy link
Contributor Author

NickDub commented Sep 13, 2024

I found that"@nx-extend/gcp-task-runner" use "@nx/workspace": "19.6.1" 😉

image

And nx report give this:

image

@TriPSs
Copy link
Owner

TriPSs commented Sep 13, 2024

Let me move that one also to the peer deps.

@NickDub
Copy link
Contributor Author

NickDub commented Sep 23, 2024

Hi @TriPSs ,
NX 19.8.0 has been released. Do you have a date for your new version?

@NickDub
Copy link
Contributor Author

NickDub commented Sep 25, 2024

Hi @TriPSs ,
The v8.0.2 solves the problem. Thank's a lot 😉

@NickDub NickDub closed this as completed Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants