-
Notifications
You must be signed in to change notification settings - Fork 49
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
nx-ignore fails with cryptic message #80
Comments
It looks like the location of where nx-ignore is installed is messing up the actual nx installation. You can try adding |
Hey @jaysoo, wanted to give you an update. I've upgraded to v14 and this error seems to be resolved. I would therefore attribute it to a mismatch between dependencies, but unfortunately cannot say for sure |
I've been running into this as well. I have a long-running NX workspace with several apps and libraries, primarily Angular/NestJS/TS based. I was wanting to play around with Next and Vercel for a potential new app. Created a new application using the schematics, set up everything according to the documentation, but as soon as I add nx-ignore to the vercel configuration I get failing builds with the same error as above whenever my application attempts to build using a vercel build cache. Retrying a build that fails with this error without the vercel build cache will succeed. I've tried replicating this issue using a new workspace, but the issue does not seem to be present there, so perhaps something about this being an older upgraded workspace instead of a new one might have a factor? Prior to exploring nextjs, I upgraded my workspace to the latest v14 fwiw. Build log output for a newly generated next application inside of my workspace.
I'd love any suggestions about how to further debug this issue. 👍 |
I'm seeing same error in my pipeline after upgrading nx to latest version today.
|
Hey! For context, I am working with Vercel, Doppler, and Nx and I am trying to deploy a project from monorepo. After adding
npx nx-ignore project
to the ignore command, my previews stop working. Removing this command fixes the issue, but obviously removes the benefit of skipping building certain projects.The problem is that it's not obvious why my build doesn't complete when using
npx nx-ignore project
? Is anyone able to offer any pointers based on the logs I receive? My best guesses are I need to upgrade Nx to v14 (nx-ignore is v14.2.0), move TypeScript from devDependencies to dependencies (unlikely?), or something else. Any hints?The text was updated successfully, but these errors were encountered: