Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rollup-plugin-babel incompatible with node 13 #5

Closed
kevinramharak opened this issue Jan 28, 2021 · 1 comment
Closed

rollup-plugin-babel incompatible with node 13 #5

kevinramharak opened this issue Jan 28, 2021 · 1 comment

Comments

@kevinramharak
Copy link

rollup-plugin-babel throws a build error:

src/index.tsx → dist/index.js...
[!] (plugin babel) Error: Cannot find module '@babel/compat-data/corejs3-shipped-proposals'
Require stack:
- C:\Users\Kevin\Projects\playground-file-explorer-browser-fs\node_modules\@babel\preset-env\lib\polyfills\corejs3\usage-plugin.js
- C:\Users\Kevin\Projects\playground-file-explorer-browser-fs\node_modules\@babel\preset-env\lib\index.js
- C:\Users\Kevin\Projects\playground-file-explorer-browser-fs\node_modules\@babel\core\lib\config\files\plugins.js
- C:\Users\Kevin\Projects\playground-file-explorer-browser-fs\node_modules\@babel\core\lib\config\files\index.js
- C:\Users\Kevin\Projects\playground-file-explorer-browser-fs\node_modules\@babel\core\lib\index.js
- C:\Users\Kevin\Projects\playground-file-explorer-browser-fs\node_modules\rollup-plugin-babel\dist\rollup-plugin-babel.cjs.js
- C:\Users\Kevin\Projects\playground-file-explorer-browser-fs\rollup.config.js
- C:\Users\Kevin\Projects\playground-file-explorer-browser-fs\node_modules\rollup\dist\bin\rollup
src\index.tsx
Error: Cannot find module '@babel/compat-data/corejs3-shipped-proposals'
Require stack:
- C:\Users\Kevin\Projects\playground-file-explorer-browser-fs\node_modules\@babel\preset-env\lib\polyfills\corejs3\usage-plugin.js
- C:\Users\Kevin\Projects\playground-file-explorer-browser-fs\node_modules\@babel\preset-env\lib\index.js
- C:\Users\Kevin\Projects\playground-file-explorer-browser-fs\node_modules\@babel\core\lib\config\files\plugins.js
- C:\Users\Kevin\Projects\playground-file-explorer-browser-fs\node_modules\@babel\core\lib\config\files\index.js
- C:\Users\Kevin\Projects\playground-file-explorer-browser-fs\node_modules\@babel\core\lib\index.js
- C:\Users\Kevin\Projects\playground-file-explorer-browser-fs\node_modules\rollup-plugin-babel\dist\rollup-plugin-babel.cjs.js
- C:\Users\Kevin\Projects\playground-file-explorer-browser-fs\rollup.config.js
- C:\Users\Kevin\Projects\playground-file-explorer-browser-fs\node_modules\rollup\dist\bin\rollup
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1029:15)
    at Function.Module._load (internal/modules/cjs/loader.js:898:27)
    at Module.require (internal/modules/cjs/loader.js:1089:19)
    at require (internal/modules/cjs/helpers.js:73:18)
    at Object.<anonymous> (C:\Users\Kevin\Projects\playground-file-explorer-browser-fs\node_modules\@babel\preset-env\lib\polyfills\corejs3\usage-plugin.js:10:55)
    at Module._compile (internal/modules/cjs/loader.js:1200:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)
    at Module.load (internal/modules/cjs/loader.js:1049:32)
    at Function.Module._load (internal/modules/cjs/loader.js:937:14)
    at Module.require (internal/modules/cjs/loader.js:1089:19)

Proposed fix: nodejs/node#32852

@just214
Copy link
Owner

just214 commented Feb 1, 2021

I just pushed an update with updated dependencies. Hopefully this resolves the issue. If not, please feel free to reopen.

@just214 just214 closed this as completed Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants