Questions tagged [rush]

29 questions
1
vote
1 answer

Do `rush build` and `tsc -b` play nice together?

I'm exploring Rush/PNPM and Typescript with project references and incremental builds but I'm a little confused about which of the two will be the best at managing incremental builds. If I use the built-in command to rush build an incremental build,…
Jason Kleban
  • 20,024
  • 18
  • 75
  • 125
0
votes
0 answers

Pass environment variable from preinstall script to postinstall of third party npm package

I am trying to use a third party package whose postinstall script needs rust compiler to build rust code to create node native module. There is an opt-in environment flag supported by the package which lets people use pre-built binary rather than…
Gurwinder Singh
  • 38,557
  • 6
  • 51
  • 76
0
votes
0 answers

rush is installed on every commit

We have a git pre-commit hook set up that runs prettier through rush, following the instructions here node common/scripts/install-run-rush.js prettier || exit $? Every time I commit, I get a new install of rush. My guess is that there's something…
JuanCaicedo
  • 3,132
  • 2
  • 14
  • 36
0
votes
1 answer

ERROR: Unexpected output from "ps" command when running `rush update` with `node-safe`

I use node-safe to run Node.js commands sanboxed on macOS. I also try to use Rush.js When I run rush update, I get the following error: ERROR: Unexpected output from "ps" command The error doesn't happen when I run the command with --allow-all flag…
Azerum
  • 73
  • 1
  • 2
  • 5
0
votes
0 answers

'se-packagr' is not recognized as an internal or external command

After 'rush build' I received 'se-packagr' is not recognized as an internal or external command. Any idea how to fix it? Screen attached below. Thank you.
Pol Pol
  • 29
  • 1
  • 5
0
votes
0 answers

Is there a way to test multiple rush packages locally without publishing?

I have three react projects A, B and C. Each project uses Rushjs for building and publishing packages. Project A depends on B and Project B depends on Project C. I made some changes in C. After building C, I used rush publish similar to npm pack to…
0
votes
0 answers

Does Microsoft rush monorepo tooling offer an "affected" dependency graph feature for VCS patches?

I'm a happy nx user (https://github.com/nrwl/nx). NX offers a dependency graph analysis tool, commonly referred to as "affected". Affected does the following: "Given a git changeset in a monorepo, report back to me which projects in the of the…
cdaringe
  • 1,274
  • 2
  • 15
  • 33
0
votes
0 answers

Module not found: Error - Package path in rush

I'm trying to build a react package using craco in rush and pnpm, I get this error Module not found: Error: Package path ./dist/framer-motion is not exported from package…
Aravind
  • 40,391
  • 16
  • 91
  • 110
0
votes
0 answers

rushjs ignoring common version (monorepo)

I have a dependency to mysql2 in multiple of my subpackages. It's version is defined in the common-versions.json file of rush. In my projects the version is defined as *. I'd assume once I rush update, the installed versión will be the one in…
caeus
  • 3,084
  • 1
  • 22
  • 36
0
votes
2 answers

How can I use Rush and Docker volumes together?

I am trying to use Rush to handle a monorepo. I saw a recent, similar question at How to build for docker (rush monorepo)?, but it has no answers and is more about build issues than development issues. Rush uses symlinks to avoid copying the same…
Dave Stein
  • 8,653
  • 13
  • 56
  • 104
0
votes
0 answers

I get a clang error when running rush lint fix

I'm trying to run rush lint fix (to run the linting on the code), and I get the following error: node:internal/child_process:413 throw errnoException(err, 'spawn'); ^ Error: spawn Unknown system error -86 at ChildProcess.spawn…
Chris Hansen
  • 7,813
  • 15
  • 81
  • 165
0
votes
1 answer

Is there any other way to share react components across projects without using npm, rush and bit

I want to share react components across different projects. I tried rush but it is not working properly apart from that we can't use npm. I tried rush.js but it is not working properly and we can't use npm, bit.
0
votes
2 answers

Error: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.0.10)

Running the application from a bundled file, I'm getting Error: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.0.10). This happens when I try to run the application in a virtual machine. Info: Ubuntu 20.04…
tbone
  • 1,148
  • 5
  • 19
  • 35
0
votes
0 answers

Take specific data from a list

1|FHCT1024|TEE SZEN YONG 2|FHCT1024|LIM JIN CHONG 3|FHCT1024|CHEN JING WEN 4|FHCT1024|YIP JING YEAP 5|FHCT1024|CHEAH YONG NEE 1|FHSB1214|TEE SZEN YONG 2|FHSB1214|LIM JIN CHONG 3|FHSB1214|CHEN JING WEN 4|FHSB1214|YIP JING YEAP I have this kind of…
1
2