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

Provide helpful error message when requested dependency is not found #79

Closed
rpkyle opened this issue Apr 4, 2019 · 0 comments
Closed
Assignees

Comments

@rpkyle
Copy link
Contributor

rpkyle commented Apr 4, 2019

As described by @KPhans, get_package_mapping() throws a bit of an obscure error when dependency resolution fails. This probably occurs when the dependency name is not matched in the package_map object:

Error in get_package_mapping: 'package' must be of length 1'.

We should return a user-friendly error message here, so that app users understand that the problem is dependency-related, and so that app and component library developers can troubleshoot more easily during their build process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant