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

NodeJS change causing build issues when running webpack #229

Closed
ijdickinson opened this issue Jun 23, 2020 · 1 comment
Closed

NodeJS change causing build issues when running webpack #229

ijdickinson opened this issue Jun 23, 2020 · 1 comment
Assignees

Comments

@ijdickinson
Copy link
Contributor

A regression in NodeJS causes issues with conditional exports, which are relied on by Babel. See nodejs/node#32852

Action is to update @babel/preset-env to a version greater than 7.9.0

@ijdickinson ijdickinson self-assigned this Jun 23, 2020
@ijdickinson
Copy link
Contributor Author

Symptom in the build is:

ERROR in ./app/javascript/packs/ukhpi_vue.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: Cannot find module '@babel/compat-data/corejs3-shipped-proposals'
Require stack:
- /home/ian/projects/hmlr/ukhpi/node_modules/@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js
...

ijdickinson added a commit that referenced this issue Jun 23, 2020
This commit updates `package.json` to address the build failure caused
by a NodeJS regression. #229
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

1 participant