Uniswap / Uniswap/interface

[Bug] bun install failed

Open
#7,964 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.