swc-project / swc-project/swc-node
@oxc-resolver@5 dependency breaks npm postinstall on some Windows machines
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 95
- Avg merge
- 14d 11h
- Merged PRs (30d)
- 1
Description
I have NX workspace, and @swc-node/register, @swc/core, @swc/helpers are deps added by NX at some point.
Recently I was upgrading packages, and started getting this error during npm install:
This was really not easy to trace it to @swc-node/register, but I guess I did it. Can't reproduce on other Windows machine, but still.
Let me know if you need any additional info.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing npm install on the affected Windows machine in the reported NX workspace, then trace the @swc-node/register dependency and its @oxc-resolver@5 postinstall path. Done means the installation completes successfully on the affected Windows setup and the failure is covered by an appropriate test or reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100