Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code 129 Error while building with yarn #4317

Open
kalio007 opened this issue May 30, 2024 · 9 comments
Open

Code 129 Error while building with yarn #4317

kalio007 opened this issue May 30, 2024 · 9 comments

Comments

@kalio007
Copy link

kalio007 commented May 30, 2024

Here is an image of my terminal log
Screenshot 2024-05-30 at 14 42 46

@kalio007
Copy link
Author

`% yarn build
• Packages in scope: @coral-xyz/app-extension, @coral-xyz/background, @coral-xyz/backpack-web, @coral-xyz/common, @coral-xyz/data-components, @coral-xyz/expo-devtools, @coral-xyz/i18n, @coral-xyz/provider-core, @coral-xyz/provider-injection, @coral-xyz/react-common, @coral-xyz/recoil, @coral-xyz/secure-background, @coral-xyz/secure-clients, @coral-xyz/secure-ui, @coral-xyz/staking, @coral-xyz/tamagui, @coral-xyz/wallet-standard, @coral-xyz/xnft-cli, eslint-config-custom
• Running build in 19 packages
• Remote caching disabled
@coral-xyz/backpack-web:build: cache hit, replaying logs 72fa53e61c31bb8a
@coral-xyz/expo-devtools:build: cache hit, replaying logs 439be52a651fb8e2
@coral-xyz/wallet-standard:build: cache hit, replaying logs 8d9ba2588e11467e
@coral-xyz/common:build: cache hit, replaying logs 1193f27f2e7207bb
@coral-xyz/backpack-web:build: info - Skipping validation of types
@coral-xyz/backpack-web:build: info - Linting...
@coral-xyz/backpack-web:build:
@coral-xyz/backpack-web:build: ./pages/downloads.tsx
@coral-xyz/wallet-standard:build:
@coral-xyz/wallet-standard:build: > @coral-xyz/[email protected] clean
@coral-xyz/wallet-standard:build: > shx mkdir -p lib && shx rm -rf lib
@coral-xyz/wallet-standard:build:
@coral-xyz/wallet-standard:build:
@coral-xyz/wallet-standard:build: > @coral-xyz/[email protected] tsc
@coral-xyz/wallet-standard:build: > tsc --build --verbose tsconfig.all.json
@coral-xyz/backpack-web:build: 45:1 Warning: This line has a length of 119. Maximum allowed is 100. max-len
@coral-xyz/backpack-web:build:
@coral-xyz/backpack-web:build: ./components/Nav.tsx
@coral-xyz/backpack-web:build: 63:1 Warning: This line has a length of 109. Maximum allowed is 100. max-len
@coral-xyz/backpack-web:build: 66:1 Warning: This line has a length of 148. Maximum allowed is 100. max-len
@coral-xyz/backpack-web:build:
@coral-xyz/backpack-web:build: info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
@coral-xyz/backpack-web:build: info - Creating an optimized production build...
@coral-xyz/wallet-standard:build:
@coral-xyz/wallet-standard:build: 3:46:15 PM - Projects in this build:
@coral-xyz/wallet-standard:build: * tsconfig.cjs.json
@coral-xyz/wallet-standard:build: * tsconfig.esm.json
@coral-xyz/wallet-standard:build: * tsconfig.all.json
@coral-xyz/wallet-standard:build:
@coral-xyz/wallet-standard:build: 3:46:15 PM - Project 'tsconfig.cjs.json' is out of date because output file 'lib/cjs/account.js' does not exist
@coral-xyz/wallet-standard:build:
@coral-xyz/wallet-standard:build: 3:46:15 PM - Building project '/Users/princewillkalio/codes/backpack/packages/wallet-standard/tsconfig.cjs.json'...
@coral-xyz/wallet-standard:build:
@coral-xyz/wallet-standard:build: 3:46:16 PM - Project 'tsconfig.esm.json' is out of date because output file 'lib/esm/account.js' does not exist
@coral-xyz/wallet-standard:build:
@coral-xyz/wallet-standard:build: 3:46:16 PM - Building project '/Users/princewillkalio/codes/backpack/packages/wallet-standard/tsconfig.esm.json'...
@coral-xyz/wallet-standard:build:
@coral-xyz/wallet-standard:build:
@coral-xyz/wallet-standard:build: > @coral-xyz/[email protected] package
@coral-xyz/wallet-standard:build: > shx mkdir -p lib/cjs && shx echo '{ "type": "commonjs" }' > lib/cjs/package.json
@coral-xyz/wallet-standard:build:
@coral-xyz/i18n:build: cache hit, replaying logs 674aae0a6c2ddb41
@coral-xyz/secure-background:build: cache hit, replaying logs 0c6a1be6ae523229
@coral-xyz/secure-clients:build: cache hit, replaying logs 5455dc023c947ff0
@coral-xyz/recoil:build: cache miss, executing 05549b4e6e4bdb84
@coral-xyz/provider-core:build: cache hit, replaying logs 80bda488073039e8
@coral-xyz/background:build: cache hit, replaying logs 69c7eaadb72b7ff8
@coral-xyz/provider-injection:build: cache hit, replaying logs 4778dd707dae0918
@coral-xyz/provider-injection:build: built provider-injection, with 0 errors
@coral-xyz/recoil:build: [STARTED] Parse Configuration
@coral-xyz/recoil:build: [SUCCESS] Parse Configuration
@coral-xyz/recoil:build: [STARTED] Generate outputs
@coral-xyz/recoil:build: [STARTED] Generate to ./src/apollo/
@coral-xyz/recoil:build: [STARTED] Load GraphQL schemas
@coral-xyz/recoil:build: [SUCCESS] Load GraphQL schemas
@coral-xyz/recoil:build: [STARTED] Load GraphQL documents
@coral-xyz/recoil:build: [SUCCESS] Load GraphQL documents
@coral-xyz/recoil:build: [STARTED] Generate
@coral-xyz/recoil:build: [FAILED] GraphQL Document Validation failed with 2 errors;
@coral-xyz/recoil:build: [FAILED] Error 0: Cannot query field "jupiterSwapValidInputTokens" on type "Query".
@coral-xyz/recoil:build: [FAILED] at /Users/princewillkalio/codes/backpack/packages/recoil/src/context/Swap/hooks.ts:3:7
@coral-xyz/recoil:build: [FAILED]
@coral-xyz/recoil:build: [FAILED] Error 1: Cannot query field "jupiterSwapOutputTokens" on type "Query". Did you mean "jupiterTradableTokens"?
@coral-xyz/recoil:build: [FAILED] at /Users/princewillkalio/codes/backpack/packages/recoil/src/context/Swap/hooks.ts:3:5
@coral-xyz/recoil:build: [SUCCESS] Generate outputs
@coral-xyz/recoil:build: ERROR: command finished with error: command (/Users/princewillkalio/codes/backpack/packages/recoil) /private/var/folders/bk/1cbrq18156v_djt2z9db3hkr0000gn/T/xfs-fc2c30b7/yarn run build exited (1)
@coral-xyz/recoil#build: command (/Users/princewillkalio/codes/backpack/packages/recoil) /private/var/folders/bk/1cbrq18156v_djt2z9db3hkr0000gn/T/xfs-fc2c30b7/yarn run build exited (1)

Tasks: 10 successful, 11 total
Cached: 10 cached, 11 total
Time: 8.524s
Failed: @coral-xyz/recoil#build

ERROR run failed: command exited (1)`

@sndmndss
Copy link

Hey,

  1. Try to run this and then one more time to build:
yarn clean
  1. Try to clone repo to other dir and try there, maybe something is damaged.

@sndmndss
Copy link

nvm, I think the problem is that API was changed, but code - no.

@kalio007
Copy link
Author

SO how do i resolve it? change the API?

@sndmndss
Copy link

sndmndss commented May 31, 2024

SO how do i resolve it? change the API?

Just shared it with team. Wait for the response.

@Aditya-040
Copy link

can i work on it

@sndmndss
Copy link

sndmndss commented Jun 7, 2024

Devs will update this repo ASAP. Stay tuned.

@pepeneif
Copy link

can i work on it

Hi Aditya, how can we help you or motivate you to work on this?

@Auspxe
Copy link

Auspxe commented Aug 27, 2024

@hkirat Hi I am tagging you to this to see if you can be of any help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants