Comments (3)
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:
- start with a completely working rush repo that has a shrinkwrap and is on the latest version of rush
- manually new external package dependency to package.json (say "react": "15.6.1")
- run
rush install
rush install
succeeds and then runsrush link
rush link
fails withERROR: Failed to parse package.json for my-project: Invalid version: "file:projects/my-project.tgz"
- Run
rush generate
as mentioned above. - 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.)
- Run 'rush generate --force` and wait awhile...
from rushstack.
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.
thanks...
from rushstack.
Related Issues (20)
- [rush] browser-approved-packages.json is not updated when dependencies are removed HOT 2
- [rush] `rush install --only .` installs all dependencies in the monorepo instead of only the dependencies in current folder/project HOT 10
- [@rushstack/terminal] Remove support for the legacy `IColorableSequence` objects.
- [heft-jest] In watch mode, changedFiles should only remove files that match before/after the run HOT 1
- [heft-typescript] Bound current directory in sys.watchFile and sys.watchDirectory
- [rush] Make `install` and `update` log package manager to a file in common/temp
- [api-documenter]
- [rush] Find rush.json location by using 'dirname' at most 10 times HOT 8
- [api-extractor] Allow generation of API reports per release level HOT 1
- [api-extractor] Internal Error: Unable to follow symbol for "Set" HOT 1
- [eslint-patch] Upgrade to ESLint 9 HOT 1
- [rush] Latest Node LTS security patch for spawnSync breaks rush on Windows HOT 1
- [rush] Medium - <CVE-2024-28863> -6.5 - Vulnerability in βtar6.1.15β
- [api-extractor] Union types extracted from declaration files are unstable
- [rush] tab-complete fails to complete project list after `--to`
- [api-extractor] Better support for nominal types
- [rush] rush add -p <package> always installs as if `--all` is specified HOT 3
- [heft] `set-environment-variables-plugin` variables remain set in unrelated phases
- [rush] The source code address for the 'rush build' command.
- [rush] Cannot publish: getting ENEEDAUTH even though I'm already authenticated HOT 2
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 rushstack.