Skip to content

Could not find module '@babel/runtime/helpers/esm/regeneratorRuntime' in a fresh new app #445

@boris-petrov

Description

@boris-petrov

Run ember new --yarn ember-cli-babel-bug. Then modify config/targets.js to be just ['firefox 35']. To ember-cli-build.js add:

'ember-cli-babel': {
  includeExternalHelpers: true,
  includePolyfill: true,
},

Run the app with ember serve and watch it blow in a browser.

A few things to note - using npm instead of yarn fixes the issue. Downgrading all @babel packages to 7.17.x also fixes the issue. I think this is somewhat related.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions