Skip to content

Fails to build with babel core version specified in package.json #8

@BenAttenborough

Description

@BenAttenborough

Bug report

Node Version

12.18.3

Environment

Linux and Windows PC

Current behaviour

I'm trying to run the code locally and there seems to be a build failure when I run npm run start (this is after I did an npm install):

🚨 Build failed.
@parcel/transformer-babel: babelCore(...).loadPartialConfigAsync is not a function

And the site cannot be reached.

Suggested solution

Digging into this it looks like it is something missing in babel core which is currently using version 7.2.0. So I tired bumping the babel version to 7.14.0 and the problem went away. I can do a pull request if that helps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions