Coder Social home page Coder Social logo

Comments (3)

HipsterZipster avatar HipsterZipster commented on May 10, 2024 1

This is a really annoying issue when rush generate --force takes a long time to run. Just adding or updating a single npm module shouldn't require regenerating everything from scratch. To be clear, simply running rush generate doesn't resolve the problem when you are installing a new dependency and I'm forced to run rush generate --force.

@nickpape-msft Is there a open ticket to resolve this issue so that we can simply run rush install?

Steps:

  1. start with a completely working rush repo that has a shrinkwrap and is on the latest version of rush
  2. manually new external package dependency to package.json (say "react": "15.6.1")
  3. run rush install
  4. rush install succeeds and then runs rush link
  5. rush link fails with ERROR: Failed to parse package.json for my-project: Invalid version: "file:projects/my-project.tgz"
  6. Run rush generate as mentioned above.
  7. Receive output Skipping generate, since all project dependencies are already satisfied. If you want to force an upgrade to the latest compatible versions, use rush generate --force. Otherwise, just run rush install.)
  8. Run 'rush generate --force` and wait awhile...

from rushstack.

nickpape avatar nickpape commented on May 10, 2024

Hi @fuocor,

There was a change made in the 3.0.15 release that requires you to run rush generate. To resolve the issue, please run rush generate and checkin the resulting changes to your shrinkwrap file.

from rushstack.

fuocor avatar fuocor commented on May 10, 2024

thanks...

from rushstack.

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.