emberjs / emberjs/ember-cli-babel

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

Open
#445 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
152
Forks
115
Avg merge
23h 22m
Merged PRs (30d)
4

Description

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

```js
'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](https://github.com/ant-design/pro-components/issues/5273#issuecomment-1133843012) is somewhat related.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.