You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the following error when running the canpack command
file:///Users/mike/.nvm/versions/node/v20.13.1/lib/node_modules/ic-mops/dist/commands/install.js:10
import { addCache, copyCache, isCached } from '../cache.js';
^^^^^^^^
SyntaxError: The requested module '../cache.js' does not provide an export named 'isCached'
My test project can be found here. Note that I'm not even trying to import any crates yet, but even if I do I get the same error when running canpack
Is this tool in a working state right now?
My ultimate goal is to use the functions exposed in Amazon's S3 rust crate (as described in the Rust section here) from within my Motoko canister. I'm under the impression that I should be able to essentially import it into a rust canister (using canpack) and call its functions from my own Rust canister, and ultimately from one of my Motoko canisters via an inter-canister query.
If this isn't the right way to go about things, I'm all ears! I was referred to canpack via this and this forum post and the referenced thread investigating the ability to do this type of thing.
Any and all advice is appreciated, and thanks for your work on this!
The text was updated successfully, but these errors were encountered:
Hi! Thanks for your interest in this library! This appears to be a bug with a previous version of the ic-mops dependency; I will update the canpack npm package to hopefully fix this issue.
Let me know if you continue to encounter this error message on the latest version (v0.2.3). Currently at an airport, so I will work on this as soon as possible.
I'm getting the following error when running the
canpack
commandMy test project can be found here. Note that I'm not even trying to import any crates yet, but even if I do I get the same error when running
canpack
Is this tool in a working state right now?
My ultimate goal is to use the functions exposed in Amazon's S3 rust crate (as described in the Rust section here) from within my Motoko canister. I'm under the impression that I should be able to essentially import it into a rust canister (using canpack) and call its functions from my own Rust canister, and ultimately from one of my Motoko canisters via an inter-canister query.
If this isn't the right way to go about things, I'm all ears! I was referred to canpack via this and this forum post and the referenced thread investigating the ability to do this type of thing.
Any and all advice is appreciated, and thanks for your work on this!
The text was updated successfully, but these errors were encountered: