Closed ByronBecker closed 1 month ago
I just updated the NodeJS basic example and added an assets sample containing a getAsset
.
What version of the library are you using?
You can also try to use @junobuild/core-peer
instead of @junobuild/core
maybe?
The 'core' package includes agent-js within the library, whereas 'core-peer' relies on agent-js as peer dependencies. Depending on the environment, one may work better than the other. The ultimate goal is to use 'core' universally, but bundling agent-js is currently challenging unfortunately.
When trying to use the
getAsset
API I receive this error:However, the
get_asset
canister endpoint exists on my satellite (via the Candid UI).