-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next stepsRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 release
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
/bin/sh: 1: cargo: Permission denied
Error: Command failed: cargo install cargo-workspaces
/bin/sh: 1: cargo: Permission denied
at checkExecSyncError (node:child_process:826:11)
at execSync (node:child_process:900:15)
at Object.<anonymous> (/pwd/scripts/bump_cargo_packages.ts:6:9)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Module.m._compile (/pwd/node_modules/ts-node/src/index.ts:1310:23)
at Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Object.require.extensions.<computed> [as .ts] (/pwd/node_modules/ts-node/src/index.ts:1313:12)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12) {
status: 127,
signal: null,
}Expected Behavior
script run successfully.
Steps To Reproduce
git clone https://github.com/gengjiawen/monkey-rust
cd monkey-rust
docker run -v $PWD:/pwd -w /pwd gengjiawen/node-build bash -c "yarn && npx ts-node scripts/bump_cargo_packages.ts"
I have fallback to
docker run -v $PWD:/pwd -w /pwd gengjiawen/node-build bash -c "yarn && node node_modules/.bin/ts-node scripts/bump_cargo_packages.ts"
Environment
OS: Linux 5.4 Ubuntu 20.04.3 LTS (Focal Fossa)
Node: 16.9.1 - /usr/local/bin/node
npm: 7.24.0 - /usr/local/bin/npm
papb
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next stepsRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 release