Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show detailed error message when fetching packages fails in aptos move publish #8554

Closed
banool opened this issue Jun 7, 2023 · 0 comments
Closed
Labels
CLI enhancement New feature or request move-cli Issues related to aptos move command move-deps

Comments

@banool
Copy link
Contributor

banool commented Jun 7, 2023

Explanation

You can see that aptos move compile gives a detailed message:

$ ~/a/core/target/debug/aptos move compile --named-addresses token_objects=0x1
Compiling, may take a little while to download git dependencies...
FETCHING GIT DEPENDENCY https://github.com/aptos-labs/aptos-core.git
{
  "Error": "Move compilation failed: Unable to resolve packages for package 'TokenObjects': While resolving dependency 'AptosFramework' in package 'TokenObjects': While processing dependency 'AptosFramework': Unable to find package manifest for 'AptosFramework' at \"/Users/dport/.move/https___github_com_aptos-labs_aptos-core_git_mainnet/aptos-move/framework/aptos-framework\""
}

This is not true of aptos move publish:

{
  "Error": "Unexpected error: Unable to resolve packages for package 'TokenObjects'"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI enhancement New feature or request move-cli Issues related to aptos move command move-deps
Projects
None yet
Development

No branches or pull requests

1 participant