Skip to content

Any Gatsby project errors with "cannot read property 'resolved' of undefined" #12851

Closed

Description

@KyleAMathews

With the latest 7.13 release. If I downgrade to 7.12.17 it works again.

Activity

  1. babel-bot commented on Feb 22, 2021

    @babel-bot
    Collaborator

    Hey @KyleAMathews! We really appreciate you taking the time to report an issue. The collaborators on this project attempt to help as many people as possible, but we're a limited number of volunteers, so it's possible this won't be addressed swiftly.

    If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack community that typically always has someone willing to help. You can sign-up here for an invite."

  2. nicolo-ribaudo commented on Feb 22, 2021

    @nicolo-ribaudo
    Member

    Can you share the complete stack trace or a reproduction repo?

  3. babel-bot commented on Feb 22, 2021

    @babel-bot
    Collaborator

    Hi @KyleAMathews! This issue is missing some important information we'll need to be able to reproduce this issue.

    Please understand that we receive a high volume of issues, and there are only a limited number of volunteers that help maintain this project. The easier it is for us to decipher an issue with the info provided, the more likely it is that we'll be able to help.

    Please make sure you have the following information documented in this ticket:

    1. Your Babel configuration (typically from .babelrc or babel.config.js)
    2. The current (incorrect) behavior you're seeing
    3. The behavior you expect
    4. A short, self-contained example

    Please provide either a link to the problem via the repl, or if the repl is insufficient, a new and minimal repository with instructions on how to build/replicate the issue.

  4. gillkyle commented on Feb 22, 2021

    @gillkyle

    I am seeing the same, with a minimal gatsby site (created by npm init gatsby -y).

    The logs I'm getting from gatsby develop are:

     ERROR #98123  WEBPACK
    
    Generating development SSR bundle failed
    
    Cannot read property 'resolved' of undefined
    
    File: .cache/ssr-develop-static-entry.js
    
    not finished Building development bundle - 0.301s
    

    I was able to unblock myself by adding resolutions to my package.json as well:

      "resolutions": {
        "@babel/core": "7.12.0"
      }
    

    Will try to spin up a minimal reproduction now...

  5. gillkyle commented on Feb 22, 2021

    @gillkyle

    Here's a minimal site with the latest packages installed where I'm seeing the error: https://codesandbox.io/s/github/gillkyle/babel-repro

    (At least I'm seeing things locally, can't get the codesandbox server to start, but here's the repo in case it helps: https://github.com/gillkyle/babel-repro)

    cc @nicolo-ribaudo (or whoever, thanks for looking into this 🙂)

  6. KyleAMathews commented on Feb 22, 2021

    @KyleAMathews
    Author
  7. nicolo-ribaudo commented on Feb 22, 2021

    @nicolo-ribaudo
    Member

    Thanks, working on a fix.

  8. KyleAMathews commented on Feb 23, 2021

    @KyleAMathews
    Author

    Another one #12854

  9. added
    outdatedA closed issue/PR that is archived due to age. Recommended to make a new issue
    on May 25, 2021
  10. locked as resolved and limited conversation to collaborators on May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

i: regressionoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Sponsor
    SponsoredKunjungi sekarang
    Promo