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

fix(generator): throw an error when Builder is missing #9663

Merged
merged 2 commits into from Aug 12, 2021
Merged

fix(generator): throw an error when Builder is missing #9663

merged 2 commits into from Aug 12, 2021

Conversation

mrazauskas
Copy link

Types of changes

  • Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

As it was noted in #9574: currently Generator throws TypeError: Cannot read property 'forGenerate' of undefined... when Builder instance is missing.

The aim of this PR is to throw more useful error message.

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly. (PR: #)
  • I have added tests to cover my changes (if not applicable, please state why)
  • All new and existing tests are passing.

@pi0 pi0 merged commit b565c38 into nuxt:dev Aug 12, 2021
@pi0 pi0 mentioned this pull request Aug 12, 2021
@mrazauskas mrazauskas deleted the generator-build-error branch August 12, 2021 10:41
@danielroe danielroe added the 2.x label Jan 18, 2023
@danielroe danielroe mentioned this pull request Jan 19, 2023
@danielroe danielroe mentioned this pull request Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants