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

Addons: Warn when addon is not installed #20455

Merged
merged 1 commit into from
Jan 12, 2023
Merged

Conversation

IanVS
Copy link
Member

@IanVS IanVS commented Dec 30, 2022

Issue: #18448 #18801

What I did

Previously, if you specify an addon in your main.js that isn't installed, a cryptic error was thrown (see referenced issues).

Now, we'll detect when this happens, throw a warning, skip the addon, and proceed without issue.

WARN Could not resolve addon "missing-addon", skipping. Is it installed?

How to test

  • Is this testable with Jest or Chromatic screenshots?
  • Does this need a new example in the kitchen sink apps?
  • Does this need an update to the documentation?

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

Successfully merging this pull request may close these issues.

2 participants