WARNING: Your build is slower because some babel plugins are non-serializable []
See original GitHub issueBuilding into /private/var/folders/6y/_8qpkt114jzb442txt_9w_2c0000gn/T/embroider-cjbPbI
WARNING: Your build is slower because some babel plugins are non-serializable []
I suppose the above warning was supposed to include the names of the plugins that are not serializable, but apparently this was not the case. Is there another way to find out what went wrong here?
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
cannot run tests when building embroider · Issue #384 - GitHub
I was able to sucesfully build our app with embroider, but could not run ... WARNING: Your build is slower because some babel...
Read more >Building Ember with Webpack via Embroider?
(Today if you see the warning Your build is slower because some babel plugins are non-serializable , that's because we're falling back to ......
Read more >Plugins - Babel
Plugins. Babel's code transformations are enabled by applying plugins (or presets) to your configuration file.
Read more >Configuration Reference | Vue CLI
If build performance is a concern, you can explicitly transpile only some of the dependencies by passing an array of package names or...
Read more >Troubleshooting | React Navigation
Before troubleshooting an issue, make sure that you have upgraded to the ... I get the warning "Non-serializable values were found in the...
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
Some of this is self-inflicted right now, because some of our own AST transforms are not serializable. (AST transforms are not babel plugins, but they do need to run inside the inline-hbs babel plugin, so their serializability matters.)
We definitely need a better message here though, because even once we fix our own there will still be cases where users have non-serializable plugins.
One way to check what is causing the problem is to inspect
_babel_config_.js
and_template_compiler_.js
in the intermediate build directory (the directory name prints on the console as “Building into…” at the start of the build). Anything in those files that says:is encoding a non-serializable value.
I’m using ember-cli 3.9.0 with
"ember-cli-template-lint": "^1.0.0-beta.1"
follow my package.json