This repository was archived by the owner on Jul 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
This repository was archived by the owner on Jul 9, 2024. It is now read-only.
nx-distrbuted-task on ubuntu-4-cores Cannot find module project-graph-worker.js #85
Copy link
Copy link
Open
Description
I'm submitting a...
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:
Current behavior
When starting on ubuntu-latest-4-cores, the nx-distributed-task step fails with this error:
Cannot find module '/home/runner/work/_actions/e-square-io/nx-distributed-task/v2/project-graph-worker.js'
Expected behavior
No error, just like on ubuntu-latest
Minimal reproduction of the problem with instructions
- Create a github action runner with 4 cores called ubuntu-4-cores
- Run e-square-io/nx-distributed-task@v2 on this runner
What is the motivation / use case for changing the behavior?
The nx project I use has one big project and many small ones. I would like to run the big project on a bigger runner to speed up CI. So I use 4 cores for that one, but unfortunately this seems to be incompatible with this project
Environment
- Nx version: the issue is in the bunled nx version, which is 13.10.6, the project uses 16.9.1
- Node version: 18.18.0
- Platform: ubuntu
Others:
Logs
Run e-square-io/nx-distributed-task@v2
with:
target: test
projects: objego-client
uploadOutputs: true
nxCloud: false
maxParallel: 3
debug: false
env:
PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
Run actions/github-script@v6
with:
script: const { default: setEnv } = require('/home/runner/work/_actions/e-square-io/nx-distributed-task/v[2](https://github.com/objego/objego-client/actions/runs/9854372667/job/27206990967?pr=1372#step:7:2)/set-env.js');
const { default: main } = require('/home/runner/work/_actions/e-square-io/nx-distributed-task/v2/main.js');
setEnv({
"target": "test",
"projects": "objego-client",
"uploadOutputs": "true",
"nxCloud": "false",
"args": "",
"distribution": "",
"bucket": "",
"maxParallel": "[3](https://github.com/objego/objego-client/actions/runs/9854372667/job/27206990967?pr=1372#step:7:3)",
"workingDirectory": "",
"debug": "false"
}, process);
await main(context, core, exec, glob, __original_require__);
github-token: ***
debug: false
user-agent: actions/github-script
result-encoding: json
retries: 0
retry-exempt-status-codes: [4](https://github.com/objego/objego-client/actions/runs/9854372667/job/27206990967?pr=1372#step:7:4)00,401,403,404,422
env:
PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
> NX Cannot find module '/home/runner/work/_actions/e-square-io/nx-distributed-task/v2/project-graph-worker.js'
Metadata
Metadata
Assignees
Labels
No labels