paritytech / capi

[WIP] A framework for crafting interactions with Substrate chains
https://docs.capi.dev
Apache License 2.0
104 stars 9 forks source link

cannot install local capi tarball without running capi serve locally #1196

Open ryanleecode opened 1 year ago

ryanleecode commented 1 year ago

When trying to install off a local tarball created by deno task dnt, it cannot be installed without running deno task capi serve locally. Based on the yarn output logs, its look for http://localhost:4646/7544978d8abdc81c/collectives.tar.

But to my knowledge a standalone tarball should be installable on its own.

➜  capi-react-native-example git:(aaa) ✗ yarn
yarn install v1.22.19
info No lockfile found.
[1/4] Resolving packages...
warning @expo/webpack-config > webpack-dev-server > webpack-dev-middleware > memfs@3.6.0: this will be v4
warning @expo/webpack-config > css-minimizer-webpack-plugin > cssnano > cssnano-preset-default > postcss-svgo > svgo > stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
error An unexpected error occurred: "http://localhost:4646/7544978d8abdc81c/collectives.tar: ".
info If you think this is a bug, please open a bug report with the information provided in "/home/ryan/Documents/Repositories/capi-vite-example/capi-react-native-example/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
AggregateError
    at internalConnectMultiple (node:net:1102:18)
    at afterConnectMultiple (node:net:1620:5)