Comments (5)
I upgraded to NX 19.2.0 and still have this issue.
from nx.
Since this is blocking me from deploying my firebase functions, unless downgrading to nx 18.3.4 or 19.0.0-beta.6, I worked out a fix using a firebase predeploy script for filtering the lock file. I have verified this is working with both pnpm v8 and v9 in nx 19.2.3.
I added a script to functions predeploy in firebase.json, running this (last param is path to my firebase build):
node tools/filter-overrides.mjs dist/apps/firebase
with tools/filter-overrides.mjs containing:
import fs from 'fs';
const pnpm_lock_file = `${process.argv[2]}/pnpm-lock.yaml`;
const content = fs.readFileSync(pnpm_lock_file, 'utf-8');
const newContent = content.replace(/\noverrides:\n[\s\S]*?\n\n/, '\n');
if (newContent !== content) fs.writeFileSync(pnpm_lock_file, newContent, 'utf-8');
I would really prefer this being fixed in nx, but if others have the same problem as me, this is a possible workaround, allowing you to also upgrade to pnpm v9.
from nx.
@Coly010 Is there is any initiative from the NX team to go forward with a fix ?
Like @atsjo This is completely blocking me from upgrading to NX 19, so I'm stuck on the version 18.
from nx.
The fix should be easy, as the info seems informational, and should just be removed (as it was previously)....
from nx.
A related/similar problem is reported in #26884
from nx.
Related Issues (20)
- Hangs when pnpm install at postinstall HOT 6
- NX Overwrites type in package.json with @nx/vite:build executor
- Documentation for ESLint config outdated
- Parsing variables that depend on other variables from file changes starting from version 19.3 HOT 1
- Metro unable to resolve nx libraries after upgrade from RN 0.72.8
- Building MFE apps in Dockerfile results in "Cannot read properties of undefined (reading 'indexOf')" in /app/node_modules/nx/src/project-graph/project-graph.js:228:27 HOT 6
- Angular application with `buildLibsFromSource` triggers unwanted rebuilds of unchanged dependable workspace libraries HOT 1
- Can't use local library in externalDependencies for plugin HOT 3
- glob works wrong with root not equals to workspace root HOT 2
- Allow `NEXT_PUBLIC_` environment variables to be recognized the same way as `NX_` variables HOT 1
- Cypress e2e test not able to run in azure devops CI pipeline HOT 3
- generatePackageJson omits dependencies with package aliases HOT 2
- PrismaClient is undefined or null in Jest e2e tests
- Problem installing 19.5.2 on s390x HOT 5
- nx/expo not showing QR on Windows
- Generator @nx/workspace:move does not move and update the file .eslintrc.json HOT 1
- Unusable performance when accessing nx-dev landing page via Remote Desktop
- nx process exited with code 9 (after upgrade to 18.3.2 from 16.3.2) HOT 4
- convert to inferred doesn't work for jest if project has a library
- nx local-registry fails with an exception: 'registry' is not a valid npm version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nx.