Babel polyfill broken in 7.26.10
See original GitHub issueSpecifying
// ember-cli-build.js
let app = new EmberApp(defaults, {
'ember-cli-babel': {
includePolyfill: true,
},
});
will cause the following error on build:
Build Error (SourceMapConcat)
ENOENT: no such file or directory, open '/var/folders/7h/82hn6hyn1bngg96_xvhlmq040000gn/T/broccoli-34311LQfVtgUc1OgD/out-262-broccoli_debug_debug_5_vendor_js/vendor/babel-polyfill/polyfill.js'
Minimal reproduction: https://github.com/nickschot/babel-polyfill-repro
Issue Analytics
- State:
- Created 2 years ago
- Reactions:7
- Comments:5 (3 by maintainers)
Top Results From Across the Web
babel/polyfill
Babel includes a polyfill that includes a custom regenerator runtime and core-js. This will emulate a full ES2015+ environment (no < Stage 4...
Read more >ember-cli-babel | Yarn - Package Manager
This Ember-CLI plugin uses Babel and @babel/preset-env to allow you to use latest Javascript ... #430 Fix missing babel polyfill in vendor tree...
Read more >ember-cli-babel
Babel comes with a polyfill that includes a custom regenerator runtime and core-js. Many transformations will work without it, but for full ...
Read more >error Error: only one instance of babel-polyfill is allowed #401
I had a similar problem using webpacker. I was loading two javascript apps on the same page using the javascript_pack_tag . Each one...
Read more >"Only one instance of babel-polyfill is allowed" error
Looks like the culprit is HtmlWebpackPlugin in my webpack config. If I remove this plugin, I the error goes away. · try changing...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I suspect it was an “unclean revert”[^1]: ea752c4 reverted 0d47e8b, but did not revert the bump to
@babel/preset-env
that was included there. Presumably there’s a difference in what the updated@babel/preset-env
is requiring or not for the polyfill.[^1]: this sounds hilarious 😂
Sorry about this y’all, fixed in https://github.com/babel/ember-cli-babel/releases/tag/v7.26.11