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

3.0 - "cannot find module '@babel/compat-data/corejs3-shipped-proposals'" error when running npm run build #8199

Closed
ashleyfae opened this issue Nov 11, 2020 · 0 comments · Fixed by #8200
Assignees
Labels
Milestone

Comments

@ashleyfae
Copy link
Contributor

ashleyfae commented Nov 11, 2020

Bug Report

Expected behavior

I expect to be able to run npm run build or npm run dev without any errors.

Actual behavior

I was getting the following error:

ERROR in ./assets/js/admin/reports/index.js
Module build failed (from ./node_modules/thread-loader/dist/cjs.js):
Thread Loader (Worker 9)
[BABEL] /www/eddexport/wp-content/plugins/easy-digital-downloads/assets/js/admin/reports/index.js: Cannot find module '@babel/compat-data/corejs3-shipped-proposals'

Steps to reproduce the behavior

  1. I wasn't able to reproduce this until I deleted node_modules/ ( rm -rf node_modules/ from inside the easy-digital-downloads directory)
  2. Run npm install
  3. Run npm run build

Error is thrown.

Information (if a specific version is affected):

PHP Version:

EDD Version (or branch): release/3.0

WordPress Version:

Any other relevant information:

nodejs/node#32852

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant