plugins
plugins copied to clipboard
[@rollup/plugin-commonjs] engine-v8-version.js:25 Uncaught TypeError: userAgent.match is not a function at engine-v8-version.js:25:21 in core-js
- Rollup Plugin Name: @rollup/plugin-commonjs
- Rollup Plugin Version: 25.0.7
- Rollup Version: 4.9.6
- Operating System (or Browser): google-chrome-stable on NixOS (I use Nix btw)
- Node Version: 18.19.0 (version pulled in by flake.nix)
- Link to reproduction (⚠️ read below): https://github.com/JamesWilmot/corejs-rollupCommonJSplugin-reproduction
Expected Behavior
Run npm start and navigate to http://localhost:8000/dummy. plugin-commonjs 'compiles' https://github.com/zloirock/core-js UMD module into es6.
Actual Behavior
google-chrome reports following in console:
Uncaught TypeError: userAgent.match is not a function
at engine-v8-version.js:25:21
in /node_modules/core-js/internals/engine-v8-version.js
Additional Information
Thanks for the issue. Unfortunately your reproduction doesn't meet the criteria for minimal. Please see the link in the issue template for guidance and try again, or we can convert this to a Q & A discussion.
I have the same error. This error is somehow connected with @rollup/plugin-commonjs plugin