Having compilation issues with "Build an E2E Dapp with Aptos" tutorial #636
Replies: 3 comments 1 reply
-
I might need some more info on your code, but first guess would be that you have a different address name in your Move.toml file compile script file Could you share what you have in your code? |
Beta Was this translation helpful? Give feedback.
-
I see. Then it is probably a cache issue, see #282 (comment) Also, |
Beta Was this translation helpful? Give feedback.
-
I was able to resolve this issue by changing this line of code in the
to this:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Following the tutorial exactly, I am running the compile command:
npm run move:compile
And as a result I am getting this dependency error.
{ "Error": "Move compilation failed: Unable to resolve packages for package 'MessageBoard': While resolving dependency 'AptosFramework' in package 'MessageBoard': Failed to reset to latest Git state 'mainnet' for package 'AptosFramework', to skip set --skip-fetch-latest-git-deps | Exit status: exit status: 128" }
I was able to get around this by compiling with the CLI directly and hardcoding addresses into the Move.toml file, but I'd like to know what's going on.
Beta Was this translation helpful? Give feedback.
All reactions