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

@babel/runtime 7.0.0-beta.56 Causes build errors when using various packages. #8580

Closed
abotteram opened this issue Aug 6, 2018 · 2 comments · Fixed by #8586
Closed

@babel/runtime 7.0.0-beta.56 Causes build errors when using various packages. #8580

abotteram opened this issue Aug 6, 2018 · 2 comments · Fixed by #8586
Labels
[Type] Bug An existing feature does not function as intended [Type] Build Tooling Issues or PRs related to build tooling

Comments

@abotteram
Copy link
Contributor

abotteram commented Aug 6, 2018

Describe the bug
2 Days ago babel released runtime version 7.0.0-beta.56, which has breaking changes. These cause build errors in every project that require gutenberg packages that rely on babel.

Workaround: In the package.json of your project define "@babel/runtime": "7.0.0-beta.55", as a dependency so npm doesn't install version 7.0.0-beta.56.

Screenshots
screen shot 2018-08-06 at 10 49 42

Additional context
babel/babel#8266

@abotteram abotteram changed the title @babel/runtime@7.0.0 @babel/runtime 7.0.0-beta.56 Causes build errors when using various packages. Aug 6, 2018
@abotteram abotteram added [Type] Build Tooling Issues or PRs related to build tooling [Type] Bug An existing feature does not function as intended labels Aug 6, 2018
@tsira
Copy link

tsira commented Aug 6, 2018

+1
Looks like core-js@2.x was removed as a dependency causing this to fail

@belcherj
Copy link
Contributor

belcherj commented Aug 7, 2018

Getting this:

    ERROR in ./node_modules/@wordpress/i18n/build-module/index.js
    Module not found: Error: Can't resolve '@babel/runtime/core-js/object/assign' in '/var/www/wordpress/wp-content/node_modules/@wordpress/i18n/build-module'
     @ ./node_modules/@wordpress/i18n/build-module/index.js 168:80-127

Thinking it may be related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug An existing feature does not function as intended [Type] Build Tooling Issues or PRs related to build tooling
Projects
None yet
3 participants