GithubHelp home page GithubHelp logo

Comments (5)

wewelll avatar wewelll commented on August 15, 2024 2

I upgraded to NX 19.2.0 and still have this issue.

from nx.

atsjo avatar atsjo commented on August 15, 2024 1

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.

wewelll avatar wewelll commented on August 15, 2024

@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.

atsjo avatar atsjo commented on August 15, 2024

The fix should be easy, as the info seems informational, and should just be removed (as it was previously)....

from nx.

atsjo avatar atsjo commented on August 15, 2024

A related/similar problem is reported in #26884

from nx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.