[Tracking]: Incompability with bun
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- bun, typescript
- Domain
- tooling
Research direction
Start by reviewing the @nuxt/scripts v2 use of node:module and Bun pull request #37947, which is identified as the upstream resolution. Done when that upstream support is merged, or when this project has a defined warning or other response for the incompatibility.
Written by the indexing model from the issue text.
Description
[!NOTE]
I don't think there is anything to fix in this project, other than possibly adding a warning message. This is just a tracking issue, so other developers can quickly identify its cause.
@nuxt/scripts v2 uses:
import { findPackageJSON } from 'node:module'
However, Bun does not implement findPackageJSON, which can cause installation to fail with errors such as:
[error] (0 , _nodeModule.findPackageJSON) is not a function
at readInstalledPackageVersion (data:text/javascript;base64,ZXhwb3J0IGRlZmF1bHQgKGFzeW5jIGZ1bmN0aW9uIChleHBvcnRzLCByZXF1aXJlLCBtb2R1bGUsIF9fZmlsZW5hbWUsIF9fZGlybmFtZSwgaml0aUltcG9ydCwgaml0aUVTTVJlc29sdmUpIHsgInVzZSBzdHJpY3QiO09iamVjdC5kZWZpbmVQcm9wZXJ0eShleHBvcnRzLCAiX19lc01vZHVsZSIsIHsgdmFsdWU6IHRydWUgfSk7ZXhwb3J0cy5TVEFUSUNfUFJPWFlfUFJFU0VUUyA9IHZvaWQgMDtleHBvcnRzLmFwcG
...
This should be resolved upstream once https://github.com/oven-sh/bun/pull/37947 gets merged.
- Dominant language
- TypeScript
- Stars
- 585
- Forks
- 95
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 42
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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.
More from nuxt/scripts
-
harlan-agent-ready-to-spec
Difficulty 5/5 Over a week Newbie friendliness 25/100
nuxt/scripts#949 · 1 comment ·
Maintainers usually reply within 1 day
-
harlan-agent-wait-to-implement
Difficulty 3/5 1-2 days Newbie friendliness 58/100
nuxt/scripts#887 · 7 comments ·
Maintainers usually reply within 1 day
-
Loading 3rd party scripts for unused widgetMay be free again A pull request for this issue was closed without being merged. Openharlan-agent-wait-to-implement
Difficulty 4/5 3-5 days Newbie friendliness 55/100
nuxt/scripts#882 · 1 comment ·
Maintainers usually reply within 1 day
-
Dependency DashboardOpen
Difficulty 4/5 3-5 days Newbie friendliness 10/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
521xueweihan/HelloGitHub#4025 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
voidzero-dev/void#478 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
Small-tailqwq/dsh-deep-whale#207 ·
Maintainers usually reply within 1 day
-
The inspector never shows the instances field, so scaling out is unreachablePossibly taken @Mrkewl claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
xevrion/breakscale#96 ·
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Flux159/mcp-server-kubernetes#384 ·