[Bug] bun install failed
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
@uniswap/extension: [vite:react-babel] We recommend switching to @vitejs/plugin-react-oxc for improved performance. More information at https://vite.dev/rolldown
@uniswap/extension: ✖ Command failed after 3.715 s
@uniswap/extension: ERROR oxc transform error
@uniswap/extension: at replaceDefine (/D:/blockchain/uniswap/interface-main/node_modules/vite/dist/node/chunks/dep-xuhyxJro.js:28548:38)
@uniswap/extension: at TransformPluginContext.handler (/D:/blockchain/uniswap/interface-main/node_modules/vite/dist/node/chunks/dep-xuhyxJro.js:28529:25)
@uniswap/extension: at EnvironmentPluginContainer.transform (/D:/blockchain/uniswap/interface-main/node_modules/vite/dist/node/chunks/dep-xuhyxJro.js:30480:51)
@uniswap/extension: at loadAndTransform (/D:/blockchain/uniswap/interface-main/node_modules/vite/dist/node/chunks/dep-xuhyxJro.js:25501:26)
@uniswap/extension: error: script "prepare" exited with code 1
uniswap: Successfully generated 214 typings!
uniswap: $ graphql-codegen --config codegen.ts
uniswap: [STARTED] Parse Configuration
uniswap: [SUCCESS] Parse Configuration
uniswap: [STARTED] Generate outputs
uniswap: [STARTED] Generate to src/data/graphql/uniswap-data-api/generated/types-and-hooks.tsuniswap: [STARTED] Load GraphQL schemas
uniswap: [SUCCESS] Load GraphQL schemas
uniswap: [STARTED] Load GraphQL documents
uniswap: [SUCCESS] Load GraphQL documents
uniswap: [STARTED] Generate
uniswap: [SUCCESS] Generate
uniswap: [SUCCESS] Generate to src/data/graphql/uniswap-data-api/generated/types-and-hooks.tsuniswap: [SUCCESS] Generate outputs
————————————————————————————————————————————————————————————————————————————————————————————————
NX Running target prepare for 4 projects and 2 tasks they depend on failed
Tasks not run because their dependencies failed or --nx-bail=true:
- @universe/api:prepare
- @universe/api:tradingapi:generate
Failed tasks:
- @universe/api:tradingapi:generate:openapi
- @uniswap/extension:prepare
error: script "g:prepare" exited with code 130
error: postinstall script from "universe" exited with 130
Contributor 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.
Research direction
Start by reproducing bun install on the reported environment and inspect the prepare and g:prepare scripts. Trace the failed @uniswap/extension:prepare and @universe/api:tradingapi:generate:openapi tasks, then verify that installation and all dependent prepare tasks complete successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bun, graphql, openapi, typescript, vite
- Domain
- build-system, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100