coral-xyz / backpack

πŸŽ’ Next level crypto wallet
https://backpack.app
GNU General Public License v3.0
1.35k stars 811 forks source link

Yarn Build Error: @coral-xyz/example-client:build exit code 137 #1025

Closed adilcpm closed 2 years ago

adilcpm commented 2 years ago

yarn build log

yarn run v1.22.19 $ env-cmd --silent turbo run build β€’ Packages in scope: @coral-xyz/app-extension, @coral-xyz/app-mobile, @coral-xyz/aurory, @coral-xyz/backend-worker-xnft-wrapper, @coral-xyz/background, @coral-xyz/backpack-web, @coral-xyz/common, @coral-xyz/common-public, @coral-xyz/deptool, @coral-xyz/example-client, @coral-xyz/example-plugin-app, @coral-xyz/example-plugin-hello-world, @coral-xyz/example-plugin-mango, @coral-xyz/example-plugin-prices, @coral-xyz/example-plugin-recoil, @coral-xyz/example-plugin-simulator, @coral-xyz/example-plugin-table-anchor, @coral-xyz/example-plugin-table-psyfi, @coral-xyz/example-xnft-iframe, @coral-xyz/example-xnft-provider-test, @coral-xyz/ledger-injection, @coral-xyz/provider-core, @coral-xyz/provider-injection, @coral-xyz/react-xnft-renderer, @coral-xyz/recoil, @coral-xyz/themes, @coral-xyz/xnft-cli, auth, deadgods, invites, network-monitor, plugins, react-xnft, solanauth β€’ Running build in 34 packages @coral-xyz/common-public:build: cache miss, executing 9e7c9c07acfbb5c2 @coral-xyz/themes:build: cache miss, executing 92af9f0d7c02e58c @coral-xyz/backpack-web:build: cache miss, executing 59f6aa288da3b319 @coral-xyz/xnft-cli:build: cache miss, executing 0322d1fc54248f73 @coral-xyz/example-client:build: cache miss, executing ddecaae071dbd015 @coral-xyz/backend-worker-xnft-wrapper:build: cache hit, replaying output 8f31efc08200ee46 @coral-xyz/backend-worker-xnft-wrapper:build: warning package.json: No license field @coral-xyz/backend-worker-xnft-wrapper:build: $ node build.js @coral-xyz/xnft-cli:build: warning package.json: No license field @coral-xyz/example-client:build: warning ../../package.json: No license field @coral-xyz/themes:build: warning package.json: No license field @coral-xyz/xnft-cli:build: $ cd ../../examples/xnft/iframe && npm run build @coral-xyz/backpack-web:build: $ next build @coral-xyz/example-client:build: $ rimraf dist && parcel build @coral-xyz/common-public:build: $ ./scripts/config.sh && yarn lint && tsc && tsc-alias && tsc -p tsconfig.rn.json @coral-xyz/themes:build: $ tsc @coral-xyz/common-public:build: $ eslint ./src --ext .js,.jsx,.ts,.tsx @coral-xyz/backpack-web:build: info - SWC minify release candidate enabled. https://nextjs.link/swcmin @coral-xyz/xnft-cli:build: @coral-xyz/xnft-cli:build: > @coral-xyz/example-xnft-iframe@0.1.0 build @coral-xyz/xnft-cli:build: > xnft build @coral-xyz/xnft-cli:build: @coral-xyz/backpack-web:build: info - Skipping validation of types @coral-xyz/backpack-web:build: info - Linting... @coral-xyz/example-client:build: Building... @coral-xyz/backpack-web:build: @coral-xyz/backpack-web:build: ./components/Nav.tsx @coral-xyz/backpack-web:build: 70:1 Warning: This line has a length of 101. Maximum allowed is 100. max-len @coral-xyz/backpack-web:build: @coral-xyz/backpack-web:build: ./components/PlaceholderApps.tsx @coral-xyz/backpack-web:build: 24:1 Warning: This line has a length of 112. Maximum allowed is 100. max-len @coral-xyz/backpack-web:build: @coral-xyz/backpack-web:build: ./components/Posts.tsx @coral-xyz/backpack-web:build: 8:1 Warning: This line has a length of 114. Maximum allowed is 100. max-len @coral-xyz/backpack-web:build: 51:1 Warning: This line has a length of 103. Maximum allowed is 100. max-len @coral-xyz/backpack-web:build: @coral-xyz/backpack-web:build: ./components/SecondaryCta.tsx @coral-xyz/backpack-web:build: 8:1 Warning: This line has a length of 101. 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/example-client:build: Bundling... @coral-xyz/example-client:build: Packaging & Optimizing... @coral-xyz/xnft-cli:build: ✨ built in 17075ms! @coral-xyz/xnft-cli:build: $ shx cp ../../examples/xnft/iframe/dist/index.js iframe.js @coral-xyz/common:build: cache miss, executing 69a225ad8aeec8a4 react-xnft:build: cache miss, executing 937ff165d690b8bc @coral-xyz/backpack-web:build: info - Compiled successfully @coral-xyz/backpack-web:build: info - Collecting page data... react-xnft:build: $ tsc @coral-xyz/common:build: $ ./scripts/config.sh && yarn lint && tsc && tsc-alias && tsc -p tsconfig.rn.json @coral-xyz/common:build: $ eslint ./src --ext .js,.jsx,.ts,.tsx @coral-xyz/backpack-web:build: info - Generating static pages (0/5) @coral-xyz/backpack-web:build: info - Generating static pages (1/5) @coral-xyz/backpack-web:build: info - Generating static pages (2/5) @coral-xyz/backpack-web:build: info - Generating static pages (3/5) @coral-xyz/backpack-web:build: info - Generating static pages (5/5) @coral-xyz/backpack-web:build: info - Finalizing page optimization... @coral-xyz/backpack-web:build: @coral-xyz/backpack-web:build: Page Size First Load JS @coral-xyz/backpack-web:build: β”Œ β—‹ / (1973 ms) 2.7 kB 93.7 kB @coral-xyz/backpack-web:build: β”œ /_app 0 B 91 kB @coral-xyz/backpack-web:build: β”œ β—‹ /404 187 B 91.2 kB @coral-xyz/backpack-web:build: β”œ β—‹ /about (1883 ms) 3.12 kB 94.1 kB @coral-xyz/backpack-web:build: β”œ Ξ» /api/email 0 B 91 kB @coral-xyz/backpack-web:build: β”” β—‹ /terms 476 B 91.5 kB @coral-xyz/backpack-web:build: + First Load JS shared by all 91 kB @coral-xyz/backpack-web:build: β”œ chunks/framework-cbb6d5b5d694c588.js 42.5 kB @coral-xyz/backpack-web:build: β”œ chunks/main-1e5131fd0754c988.js 34.7 kB @coral-xyz/backpack-web:build: β”œ chunks/pages/_app-ccf5373048d040d4.js 12.1 kB @coral-xyz/backpack-web:build: β”œ chunks/webpack-0a684224be5f35f0.js 1.62 kB @coral-xyz/backpack-web:build: β”” css/da7113e113e727af.css 4.8 kB @coral-xyz/backpack-web:build: @coral-xyz/backpack-web:build: Ξ» (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps) @coral-xyz/backpack-web:build: β—‹ (Static) automatically rendered as static HTML (uses no initial props) @coral-xyz/backpack-web:build: @coral-xyz/common:build: @coral-xyz/common:build: Error while parsing /home/adilcpm/ratio/backpack/node_modules/react-native/index.js @coral-xyz/common:build: Line 14, column 32: ';' expected. @coral-xyz/common:build: parseForESLint from parser /home/adilcpm/ratio/backpack/packages/common/node_modules/@typescript-eslint/parser/dist/index.js is invalid and will just be ignored @coral-xyz/example-plugin-prices:build: cache miss, executing fb408c70fe2abf0c @coral-xyz/example-plugin-hello-world:build: cache miss, executing eee52c6cc5accbd1 network-monitor:build: cache miss, executing 407445ffb06d2827 @coral-xyz/example-xnft-provider-test:build: cache miss, executing 916346e29f36ee39 @coral-xyz/example-plugin-table-anchor:build: cache miss, executing 047f152926a1e2cf @coral-xyz/aurory:build: cache miss, executing 8043cd41428b15d9 @coral-xyz/example-plugin-app:build: cache miss, executing ec83a2dc46cfb6cb @coral-xyz/example-xnft-iframe:build: cache miss, executing 42986c6ff95c3d39 @coral-xyz/example-plugin-prices:build: warning package.json: No license field network-monitor:build: warning ../../../package.json: No license field @coral-xyz/example-plugin-table-anchor:build: warning package.json: No license field @coral-xyz/example-plugin-prices:build: warning ../../package.json: No license field @coral-xyz/example-plugin-table-anchor:build: warning ../../package.json: No license field @coral-xyz/aurory:build: warning package.json: No license field @coral-xyz/aurory:build: warning ../../package.json: No license field @coral-xyz/example-plugin-hello-world:build: warning package.json: No license field @coral-xyz/example-plugin-prices:build: $ xnft build @coral-xyz/example-plugin-table-anchor:build: $ xnft build @coral-xyz/example-plugin-hello-world:build: warning ../../package.json: No license field network-monitor:build: $ xnft build @coral-xyz/example-xnft-provider-test:build: warning package.json: No license field @coral-xyz/example-xnft-provider-test:build: warning ../../package.json: No license field @coral-xyz/example-plugin-hello-world:build: $ xnft build @coral-xyz/aurory:build: $ xnft build @coral-xyz/example-xnft-iframe:build: warning package.json: No license field @coral-xyz/example-xnft-iframe:build: warning ../../package.json: No license field @coral-xyz/example-plugin-app:build: warning package.json: No license field @coral-xyz/example-xnft-provider-test:build: $ xnft build @coral-xyz/example-plugin-app:build: warning ../../package.json: No license field @coral-xyz/example-xnft-iframe:build: $ xnft build @coral-xyz/example-plugin-app:build: $ xnft build @coral-xyz/example-xnft-iframe:build: ✨ built in 3741ms! @coral-xyz/example-plugin-simulator:build: cache miss, executing c4ea926034716f60 network-monitor:build: [ network-monitor:build: { network-monitor:build: message: "Failed to resolve './app' from './packages/network-monitor/src/index.tsx'", network-monitor:build: origin: '@parcel/core', network-monitor:build: codeFrames: [ [Object] ] network-monitor:build: }, network-monitor:build: { network-monitor:build: message: "Cannot load file './app' in './packages/network-monitor/src'.", network-monitor:build: hints: [ "Did you mean './App'?" ], network-monitor:build: origin: '@parcel/resolver-default' network-monitor:build: } network-monitor:build: ] @coral-xyz/example-plugin-simulator:build: warning package.json: No license field @coral-xyz/example-plugin-simulator:build: warning ../../package.json: No license field @coral-xyz/example-plugin-simulator:build: $ xnft build @coral-xyz/example-plugin-mango:build: cache miss, executing 7be01c822cba4137 @coral-xyz/example-plugin-mango:build: warning package.json: No license field @coral-xyz/example-plugin-mango:build: warning ../../package.json: No license field @coral-xyz/example-plugin-mango:build: $ xnft build @coral-xyz/common:build: @coral-xyz/common:build: /home/adilcpm/ratio/backpack/packages/common/src/solana/background-connection.ts @coral-xyz/common:build: 820:22 warning Promise executor functions should not be async no-async-promise-executor @coral-xyz/common:build: @coral-xyz/common:build: /home/adilcpm/ratio/backpack/packages/common/src/solana/programs/token.ts @coral-xyz/common:build: 121:22 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/common:build: 122:44 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/common:build: 146:47 warning Promise executor functions should not be async no-async-promise-executor @coral-xyz/common:build: @coral-xyz/common:build: /home/adilcpm/ratio/backpack/packages/common/src/solana/provider.ts @coral-xyz/common:build: 73:25 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/common:build: @coral-xyz/common:build: βœ– 5 problems (0 errors, 5 warnings) @coral-xyz/common:build: @coral-xyz/aurory:build: ✨ built in 44605ms! @coral-xyz/example-plugin-prices:build: ✨ built in 44843ms! @coral-xyz/example-plugin-hello-world:build: ✨ built in 44115ms! @coral-xyz/example-plugin-recoil:build: cache miss, executing 6bfd727d1bb9ecdb @coral-xyz/example-plugin-recoil:build: warning package.json: No license field @coral-xyz/example-plugin-recoil:build: warning ../../package.json: No license field @coral-xyz/example-plugin-recoil:build: $ xnft build @coral-xyz/example-client:build: Killed @coral-xyz/example-plugin-simulator:build: ✨ built in 59934ms! @coral-xyz/example-client:build: error Command failed with exit code 137. @coral-xyz/example-client:build: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. @coral-xyz/example-client:build: ERROR: command finished with error: command (examples/clients/simple) yarn run build exited (137) @coral-xyz/react-xnft-renderer:build: cache miss, executing bd076bd6f335c7b9 deadgods:build: cache miss, executing 63319f9744f65b4e @coral-xyz/ledger-injection:build: cache miss, executing dcc0e55195b9a099 @coral-xyz/provider-core:build: cache miss, executing e7ca47ec40ca128a @coral-xyz/example-plugin-table-psyfi:build: cache miss, executing abc8a19d330273a1 @coral-xyz/recoil:build: cache miss, executing 7308f38b71f4a3f1 @coral-xyz/provider-injection:build: cache miss, executing edab6b18125bcdff @coral-xyz/background:build: cache miss, executing a8da99aca27a4723 @coral-xyz/app-extension:build: cache miss, executing 1b25d578ef21f159 command (examples/clients/simple) yarn run build exited (137)

Tasks: 12 successful, 13 total Cached: 1 cached, 13 total Time: 2m9.189s

error Command failed with exit code 137. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

hkirat commented 2 years ago

Can you try running the following

cd examples/clients/simple
yarn build

and see if you get an error log?

adilcpm commented 2 years ago

Yes, that seems to work. But yarn start is failing now

adilcpm@LAPTOP-FIOP549R:~/ratio/backpack$ yarn start yarn run v1.22.19 $ env-cmd --silent turbo run start --concurrency=20 β€’ Packages in scope: @coral-xyz/app-extension, @coral-xyz/app-mobile, @coral-xyz/aurory, @coral-xyz/backend-worker-xnft-wrapper, @coral-xyz/background, @coral-xyz/backpack-web, @coral-xyz/common, @coral-xyz/common-public, @coral-xyz/deptool, @coral-xyz/example-client, @coral-xyz/example-plugin-app, @coral-xyz/example-plugin-hello-world, @coral-xyz/example-plugin-mango, @coral-xyz/example-plugin-prices, @coral-xyz/example-plugin-recoil, @coral-xyz/example-plugin-simulator, @coral-xyz/example-plugin-table-anchor, @coral-xyz/example-plugin-table-psyfi, @coral-xyz/example-xnft-iframe, @coral-xyz/example-xnft-provider-test, @coral-xyz/ledger-injection, @coral-xyz/provider-core, @coral-xyz/provider-injection, @coral-xyz/react-xnft-renderer, @coral-xyz/recoil, @coral-xyz/themes, @coral-xyz/xnft-cli, auth, deadgods, invites, network-monitor, plugins, react-xnft, solanauth β€’ Running start in 34 packages @coral-xyz/example-client:start: cache miss, executing d78e9571e4c502e6 @coral-xyz/backpack-web:start: cache miss, executing 5848ec1d6b8c3e7b @coral-xyz/common-public:start: cache miss, executing 50a2f3da9364f2bf @coral-xyz/backend-worker-xnft-wrapper:start: cache miss, executing 0f2dc389a7a75857 plugins:start: cache miss, executing 425145c5bd901e64 @coral-xyz/xnft-cli:build: cache hit, replaying output 0322d1fc54248f73 @coral-xyz/xnft-cli:build: warning package.json: No license field @coral-xyz/xnft-cli:build: $ cd ../../examples/xnft/iframe && npm run build @coral-xyz/xnft-cli:build: @coral-xyz/xnft-cli:build: > @coral-xyz/example-xnft-iframe@0.1.0 build @coral-xyz/xnft-cli:build: > xnft build @coral-xyz/xnft-cli:build: @coral-xyz/xnft-cli:build: ✨ built in 17075ms! @coral-xyz/xnft-cli:build: $ shx cp ../../examples/xnft/iframe/dist/index.js iframe.js @coral-xyz/themes:build: cache hit, replaying output 92af9f0d7c02e58c @coral-xyz/themes:build: warning package.json: No license field @coral-xyz/themes:build: $ tsc @coral-xyz/common-public:build: cache hit, replaying output 9e7c9c07acfbb5c2 @coral-xyz/common-public:build: $ ./scripts/config.sh && yarn lint && tsc && tsc-alias && tsc -p tsconfig.rn.json @coral-xyz/common-public:build: $ eslint ./src --ext .js,.jsx,.ts,.tsx @coral-xyz/common:start: cache miss, executing 752574ac66f6b7ba plugins:start: warning package.json: No license field @coral-xyz/backend-worker-xnft-wrapper:start: warning package.json: No license field @coral-xyz/example-client:start: warning ../../package.json: No license field react-xnft:build: cache hit, replaying output 937ff165d690b8bc react-xnft:build: $ tsc @coral-xyz/example-plugin-recoil:start: cache miss, executing 187a3ad611ffe08a @coral-xyz/example-plugin-table-anchor:start: cache miss, executing 0429dbfe76269a75 @coral-xyz/example-plugin-simulator:start: cache miss, executing 9258e86444d44e0d @coral-xyz/example-plugin-prices:start: cache miss, executing d7f58bfad92f74fb @coral-xyz/aurory:start: cache miss, executing 77a0710f2357e0d5 network-monitor:start: cache miss, executing b5015687e3becc26 @coral-xyz/backpack-web:start: $ next start @coral-xyz/example-plugin-hello-world:start: cache miss, executing 93c313e4c5a5428f @coral-xyz/example-xnft-provider-test:start: cache miss, executing e7e90ff223ab082c @coral-xyz/example-plugin-app:start: cache miss, executing 42ed00c0ccf6e83b @coral-xyz/example-xnft-iframe:start: cache miss, executing b02e2bbad5efa8ec @coral-xyz/example-plugin-mango:start: cache miss, executing 10d492bbada8a7da @coral-xyz/example-client:start: $ rimraf dist && parcel @coral-xyz/backend-worker-xnft-wrapper:start: $ miniflare --live-reload --debug --modules dist/index.mjs --https --port 9999 @coral-xyz/common-public:start: $ yarn build plugins:start: $ ws --port 8001 @coral-xyz/common:start: $ yarn build @coral-xyz/aurory:start: warning package.json: No license field @coral-xyz/aurory:start: warning ../../package.json: No license field @coral-xyz/example-plugin-prices:start: warning package.json: No license field @coral-xyz/example-plugin-prices:start: warning ../../package.json: No license field @coral-xyz/aurory:start: $ xnft watch @coral-xyz/example-plugin-prices:start: $ xnft watch @coral-xyz/example-plugin-hello-world:start: warning package.json: No license field network-monitor:start: warning ../../../package.json: No license field @coral-xyz/example-plugin-hello-world:start: warning ../../package.json: No license field @coral-xyz/example-plugin-recoil:start: warning package.json: No license field @coral-xyz/example-plugin-recoil:start: warning ../../package.json: No license field @coral-xyz/example-xnft-iframe:start: warning package.json: No license field @coral-xyz/example-plugin-mango:start: warning package.json: No license field @coral-xyz/example-plugin-mango:start: warning ../../package.json: No license field network-monitor:start: $ xnft watch @coral-xyz/example-xnft-iframe:start: warning ../../package.json: No license field @coral-xyz/example-plugin-simulator:start: warning package.json: No license field @coral-xyz/example-xnft-provider-test:start: warning package.json: No license field @coral-xyz/example-xnft-provider-test:start: warning ../../package.json: No license field @coral-xyz/example-plugin-mango:start: $ xnft watch @coral-xyz/example-plugin-simulator:start: warning ../../package.json: No license field @coral-xyz/example-plugin-recoil:start: $ xnft watch @coral-xyz/example-plugin-hello-world:start: $ xnft watch @coral-xyz/example-plugin-app:start: warning package.json: No license field @coral-xyz/example-plugin-app:start: warning ../../package.json: No license field @coral-xyz/backpack-web:start: ready - started server on 0.0.0.0:3000, url: http://localhost:3000 @coral-xyz/common-public:start: $ ./scripts/config.sh && yarn lint && tsc && tsc-alias && tsc -p tsconfig.rn.json @coral-xyz/example-plugin-simulator:start: $ xnft watch @coral-xyz/example-xnft-iframe:start: $ xnft watch @coral-xyz/example-plugin-app:start: $ xnft watch @coral-xyz/example-xnft-provider-test:start: $ xnft watch @coral-xyz/common:start: $ ./scripts/config.sh && yarn lint && tsc && tsc-alias && tsc -p tsconfig.rn.json @coral-xyz/example-plugin-table-anchor:start: warning package.json: No license field @coral-xyz/example-plugin-table-anchor:start: warning ../../package.json: No license field @coral-xyz/common:build: cache hit, replaying output 69a225ad8aeec8a4 @coral-xyz/common:build: $ ./scripts/config.sh && yarn lint && tsc && tsc-alias && tsc -p tsconfig.rn.json @coral-xyz/common:build: $ eslint ./src --ext .js,.jsx,.ts,.tsx @coral-xyz/common:build: @coral-xyz/common:build: Error while parsing /home/adilcpm/ratio/backpack/node_modules/react-native/index.js @coral-xyz/common:build: Line 14, column 32: ';' expected. @coral-xyz/common:build: parseForESLint from parser /home/adilcpm/ratio/backpack/packages/common/node_modules/@typescript-eslint/parser/dist/index.js is invalid and will just be ignored @coral-xyz/common:build: @coral-xyz/common:build: /home/adilcpm/ratio/backpack/packages/common/src/solana/background-connection.ts @coral-xyz/common:build: 820:22 warning Promise executor functions should not be async no-async-promise-executor @coral-xyz/common:build: @coral-xyz/common:build: /home/adilcpm/ratio/backpack/packages/common/src/solana/programs/token.ts @coral-xyz/common:build: 121:22 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/common:build: 122:44 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/common:build: 146:47 warning Promise executor functions should not be async no-async-promise-executor @coral-xyz/common:build: @coral-xyz/common:build: /home/adilcpm/ratio/backpack/packages/common/src/solana/provider.ts @coral-xyz/common:build: 73:25 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/common:build: @coral-xyz/common:build: βœ– 5 problems (0 errors, 5 warnings) @coral-xyz/common:build: deadgods:start: cache miss, executing d943254c046cf50b @coral-xyz/example-plugin-table-anchor:start: $ xnft watch @coral-xyz/react-xnft-renderer:build: cache hit, replaying output bd076bd6f335c7b9 @coral-xyz/react-xnft-renderer:build: $ tsc @coral-xyz/ledger-injection:start: cache miss, executing cac91fb192a47bfa @coral-xyz/example-plugin-prices:start: πŸ‘€ watching /home/adilcpm/ratio/backpack/examples/xnft/prices @coral-xyz/provider-core:build: cache hit, replaying output e7ca47ec40ca128a @coral-xyz/provider-core:build: warning package.json: No license field @coral-xyz/provider-core:build: $ tsc @coral-xyz/example-plugin-table-psyfi:start: cache miss, executing d6a724b7e67cd0aa @coral-xyz/aurory:start: πŸ‘€ watching /home/adilcpm/ratio/backpack/examples/xnft/aurory @coral-xyz/example-plugin-hello-world:start: πŸ‘€ watching /home/adilcpm/ratio/backpack/examples/xnft/hello-world @coral-xyz/example-plugin-mango:start: πŸ‘€ watching /home/adilcpm/ratio/backpack/examples/xnft/mango deadgods:start: warning package.json: No license field deadgods:start: warning ../../../package.json: No license field @coral-xyz/example-xnft-iframe:start: πŸ‘€ watching /home/adilcpm/ratio/backpack/examples/xnft/iframe deadgods:start: $ xnft watch @coral-xyz/example-plugin-recoil:start: πŸ‘€ watching /home/adilcpm/ratio/backpack/examples/xnft/recoil @coral-xyz/example-plugin-simulator:start: πŸ‘€ watching /home/adilcpm/ratio/backpack/examples/xnft/simulator network-monitor:start: πŸ‘€ watching /home/adilcpm/ratio/backpack/examples/xnft-program-library/packages/network-monitor @coral-xyz/example-xnft-provider-test:start: πŸ‘€ watching /home/adilcpm/ratio/backpack/examples/xnft/provider-test @coral-xyz/common:start: $ eslint ./src --ext .js,.jsx,.ts,.tsx @coral-xyz/ledger-injection:start: $ rimraf dist && parcel build src/index.html && parcel src/index.html --https --port 4443 @coral-xyz/example-plugin-app:start: πŸ‘€ watching /home/adilcpm/ratio/backpack/examples/xnft/app @coral-xyz/example-plugin-table-anchor:start: πŸ‘€ watching /home/adilcpm/ratio/backpack/examples/xnft/table-anchor @coral-xyz/backend-worker-xnft-wrapper:start: [mf:dbg] Initialising worker... @coral-xyz/common-public:start: $ eslint ./src --ext .js,.jsx,.ts,.tsx @coral-xyz/backend-worker-xnft-wrapper:start: [mf:dbg] Options: @coral-xyz/backend-worker-xnft-wrapper:start: [mf:dbg] - Script Path: dist/index.mjs @coral-xyz/backend-worker-xnft-wrapper:start: [mf:dbg] - Wrangler Config Path: wrangler.toml @coral-xyz/backend-worker-xnft-wrapper:start: [mf:dbg] - Package Path: package.json @coral-xyz/backend-worker-xnft-wrapper:start: [mf:dbg] - Modules: true @coral-xyz/backend-worker-xnft-wrapper:start: [mf:dbg] - Compatibility Date: 2022-06-16 @coral-xyz/backend-worker-xnft-wrapper:start: [mf:dbg] - Watch: true @coral-xyz/backend-worker-xnft-wrapper:start: [mf:dbg] - Debug: true @coral-xyz/backend-worker-xnft-wrapper:start: [mf:dbg] - Name: xnft-wrapper @coral-xyz/backend-worker-xnft-wrapper:start: [mf:dbg] - Port: 9999 @coral-xyz/backend-worker-xnft-wrapper:start: [mf:dbg] - HTTPS: true @coral-xyz/backend-worker-xnft-wrapper:start: [mf:dbg] - Live Reload: true @coral-xyz/backend-worker-xnft-wrapper:start: [mf:dbg] - Build Command: npm run build @coral-xyz/backend-worker-xnft-wrapper:start: [mf:dbg] - Build Watch Paths: src @coral-xyz/backend-worker-xnft-wrapper:start: [mf:dbg] - Service Bindings: @coral-xyz/backend-worker-xnft-wrapper:start: [mf:dbg] Enabled Compatibility Flags: @coral-xyz/backend-worker-xnft-wrapper:start: [mf:dbg] - global_navigator @coral-xyz/backend-worker-xnft-wrapper:start: [mf:dbg] - durable_object_fetch_requires_full_url @coral-xyz/backend-worker-xnft-wrapper:start: [mf:dbg] - fetch_refuses_unknown_protocols @coral-xyz/backend-worker-xnft-wrapper:start: [mf:dbg] - formdata_parser_supports_files plugins:start: Listening on http://LAPTOP-FIOP549R:8001, http://127.0.0.1:8001, http://172.31.170.212:8001 @coral-xyz/backpack-web:start: info - SWC minify release candidate enabled. https://nextjs.link/swcmin @coral-xyz/example-plugin-table-psyfi:start: warning ../../package.json: No license field @coral-xyz/example-plugin-table-psyfi:start: $ xnft watch deadgods:start: πŸ‘€ watching /home/adilcpm/ratio/backpack/examples/xnft-program-library/packages/deadgods @coral-xyz/example-plugin-table-psyfi:start: πŸ‘€ watching /home/adilcpm/ratio/backpack/examples/xnft/psyfi @coral-xyz/example-client:start: Server running at http://localhost:1234 @coral-xyz/example-client:start: Building... @coral-xyz/backend-worker-xnft-wrapper:start: @coral-xyz/backend-worker-xnft-wrapper:start: > @coral-xyz/backend-worker-xnft-wrapper@0.0.1 build @coral-xyz/backend-worker-xnft-wrapper:start: > node build.js @coral-xyz/backend-worker-xnft-wrapper:start: @coral-xyz/backend-worker-xnft-wrapper:start: [mf:inf] Build succeeded @coral-xyz/backend-worker-xnft-wrapper:start: [mf:dbg] Reloading worker... @coral-xyz/backend-worker-xnft-wrapper:start: [mf:inf] Worker reloaded! (1.83KiB) @coral-xyz/backend-worker-xnft-wrapper:start: [mf:dbg] Watching .env, dist/index.mjs, src, wrangler.toml... @coral-xyz/backend-worker-xnft-wrapper:start: [mf:inf] Listening on :9999 @coral-xyz/backend-worker-xnft-wrapper:start: [mf:inf] - https://127.0.0.1:9999 @coral-xyz/backend-worker-xnft-wrapper:start: [mf:inf] - https://172.31.170.212:9999 @coral-xyz/example-xnft-provider-test:start: Killed @coral-xyz/example-xnft-provider-test:start: error Command failed with exit code 137. @coral-xyz/example-xnft-provider-test:start: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. @coral-xyz/example-xnft-provider-test:start: ERROR: command finished with error: command (examples/xnft/provider-test) yarn run start exited (137) @coral-xyz/recoil:build: cache hit, replaying output 7308f38b71f4a3f1 @coral-xyz/recoil:build: $ tsc @coral-xyz/background:start: cache miss, executing e223310724f16885 @coral-xyz/background:build: cache hit, replaying output a8da99aca27a4723 @coral-xyz/background:build: warning package.json: No license field @coral-xyz/background:build: $ yarn lint && tsc @coral-xyz/background:build: warning package.json: No license field @coral-xyz/background:build: $ eslint ./src --ext .js,.jsx,.ts,.tsx @coral-xyz/background:build: @coral-xyz/background:build: /home/adilcpm/ratio/backpack/packages/background/src/backend/core.ts @coral-xyz/background:build: 394:64 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: @coral-xyz/background:build: /home/adilcpm/ratio/backpack/packages/background/src/backend/ethereum-connection.ts @coral-xyz/background:build: 189:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 196:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 200:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 204:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 208:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 212:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 216:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 220:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 224:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 228:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 232:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 236:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 240:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 244:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 248:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 252:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 256:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 260:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: @coral-xyz/background:build: /home/adilcpm/ratio/backpack/packages/background/src/backend/keyring/blockchain.ts @coral-xyz/background:build: 70:26 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 71:32 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 72:30 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 108:14 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 112:10 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 120:12 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 124:36 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 137:20 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 140:9 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 156:9 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 159:9 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 162:9 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 219:17 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 221:14 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 223:13 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 225:14 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 227:12 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 232:7 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 233:7 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 234:7 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: @coral-xyz/background:build: /home/adilcpm/ratio/backpack/packages/background/src/backend/keyring/index.ts @coral-xyz/background:build: 224:40 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 283:13 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 300:29 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 300:29 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 383:56 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 399:25 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 444:14 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 450:57 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 471:12 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 471:33 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 475:12 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 492:12 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: @coral-xyz/background:build: /home/adilcpm/ratio/backpack/packages/background/src/backend/solana-connection.ts @coral-xyz/background:build: 169:45 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 185:11 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 212:37 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 272:47 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 288:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 298:24 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 314:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 325:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 333:7 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 354:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 365:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 376:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 387:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 397:33 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 413:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 423:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 430:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 440:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 450:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 454:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 458:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 473:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 484:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 496:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: 508:18 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion @coral-xyz/background:build: @coral-xyz/background:build: /home/adilcpm/ratio/backpack/packages/background/src/backend/store/keyring.ts @coral-xyz/background:build: 1:1 warning All imports in the declaration are only used as types. Use import type @typescript-eslint/consistent-type-imports @coral-xyz/background:build: @coral-xyz/background:build: /home/adilcpm/ratio/backpack/packages/background/src/frontend/common.ts @coral-xyz/background:build: 24:24 warning Promise executor functions should not be async no-async-promise-executor @coral-xyz/background:build: 69:14 warning Don't use Function as a type. The Function type accepts any function-like value. @coral-xyz/background:build: It provides no type safety when calling the function, which can be a common source of bugs. @coral-xyz/background:build: It also accepts things like class declarations, which will throw at runtime as they will not be called with new. @coral-xyz/background:build: If you are expecting the function to accept certain arguments, you should explicitly define the function shape @typescript-eslint/ban-types @coral-xyz/background:build: 70:13 warning Don't use Function as a type. The Function type accepts any function-like value. @coral-xyz/background:build: It provides no type safety when calling the function, which can be a common source of bugs. @coral-xyz/background:build: It also accepts things like class declarations, which will throw at runtime as they will not be called with new. @coral-xyz/background:build: If you are expecting the function to accept certain arguments, you should explicitly define the function shape @typescript-eslint/ban-types @coral-xyz/background:build: 82:59 warning Don't use Function as a type. The Function type accepts any function-like value. @coral-xyz/background:build: It provides no type safety when calling the function, which can be a common source of bugs. @coral-xyz/background:build: It also accepts things like class declarations, which will throw at runtime as they will not be called with new. @coral-xyz/background:build: If you are expecting the function to accept certain arguments, you should explicitly define the function shape @typescript-eslint/ban-types @coral-xyz/background:build: 82:69 warning Don't use Function as a type. The Function type accepts any function-like value. @coral-xyz/background:build: It provides no type safety when calling the function, which can be a common source of bugs. @coral-xyz/background:build: It also accepts things like class declarations, which will throw at runtime as they will not be called with new. @coral-xyz/background:build: If you are expecting the function to accept certain arguments, you should explicitly define the function shape @typescript-eslint/ban-types @coral-xyz/background:build: @coral-xyz/background:build: βœ– 82 problems (0 errors, 82 warnings) @coral-xyz/background:build: 0 errors and 1 warning potentially fixable with the --fix option. @coral-xyz/background:build: @coral-xyz/app-extension:start: cache miss, executing bb3cb50e4dddf0f5 command (examples/xnft/provider-test) yarn run start exited (137)

Tasks: 9 successful, 10 total Cached: 9 cached, 10 total Time: 1m37.938s

error Command failed with exit code 137. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

hkirat commented 2 years ago

Can you run the following and see if you have an error log?

cd examples/clients/provider-test
yarn build

If that works can you try

cd examples/clients/provider-test
yarn start

and see if you get an error log?

adilcpm commented 2 years ago

is there supposed to be a provider-test. I am not seeing it in my side in clients folder

hkirat commented 2 years ago

My bad it's examples/xnft/provider-test/

adilcpm commented 2 years ago

image

Yes that works as intended, but the original issue persists!

hkirat commented 2 years ago

Whats your node version?

adilcpm commented 2 years ago

18.9.1

adilcpm commented 2 years ago

I am running out of memory space, 95% RAM usage. Does that have anything to do with this?

hkirat commented 2 years ago

Oh interesting, what is the spec of your machine just out of curiosity if you'd like to share that. I don't think it should affect this though Are you testing any of the examples locally or just running the extension? If it's just the extension then can you try deleting the packages inside the examples folder and rebuild?

adilcpm commented 2 years ago

Its a i5, 8 gig ram. I am just trying to create a xNFT, i am not sure if running the backpack is necessary.

adilcpm commented 2 years ago

and do testing the examples requires yarn start or won't just a yarn build make it possible?

hkirat commented 2 years ago

Ah in that case you can download the extension from the release page here.

And you can simply work inside one of the example directories (examples/xnft/provider-test/ for example). You don't need to start the extension locally (don't need to run yarn start in the root folder).

adilcpm commented 2 years ago

okay thanks. That's very helpful

adilcpm commented 2 years ago

that requires a invite code. I did yarn build and copied the build folder and made the extension work. But i can only see the simulator app in there, is that normal?

hkirat commented 2 years ago

yeah the simulator is where you can see the example you're running locally.

hkirat commented 2 years ago

Gonna close this issue for now, please feel free to reach out on discord if you face more issues.