Lerna/NX not supported with Deno
- Dominant language
- TypeScript
- Stars
- 61
- Forks
- 26
- Avg merge
- 3h 20m
- Merged PRs (30d)
- 6
Description
**Describe the bug**
While running all the tests on the Bun+Deno realized that Lerna+NX is not supported with Deno and causing error.
```
❯ deno run -A build
Task build lerna run build
lerna notice cli v8.1.9
error: Unable to load /ssz/node_modules/.deno/nx@20.2.2/node_modules/nx/src/project-graph/plugins/isolation/plugin-worker
Caused by:
No such file or directory (os error 2)
error: Unable to load /ssz/node_modules/.deno/nx@20.2.2/node_modules/nx/src/project-graph/plugins/isolation/plugin-worker
Caused by:
No such file or directory (os error 2)
error: Unable to load /ssz/node_modules/.deno/nx@20.2.2/node_modules/nx/src/project-graph/plugins/isolation/plugin-worker
Caused by:
No such file or directory (os error 2)
```
**Expected behavior**
There should not be any issue running `npm scripts` with different runtimes.
**Steps to Reproduce**
- Build the code with deno using `deno run -A build` on the root of the repo.
Contributor guide
No contributing guide indexed for this repository
Research direction
Run `deno run -A build` from the repository root to reproduce the Nx plugin-worker loading error. Inspect the root build script and the Lerna/Nx configuration for assumptions about runtime or module loading. Done means the root build completes successfully under Deno without breaking the existing npm-script workflow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- deno, typescript
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100