rollup / plugins

🍣 The one-stop shop for official Rollup plugins
MIT License
3.57k stars 568 forks source link

[@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 #1672

Open JamesWilmot opened 4 months ago

JamesWilmot commented 4 months ago

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

shellscape commented 4 months ago

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.

andre487 commented 2 weeks ago

I have the same error. This error is somehow connected with @rollup/plugin-commonjs plugin