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

Upgrading @babel/runtime to 7.0.0-beta.56 breaks the build #22

vladgolubev opened this issue Aug 4, 2018 · 2 comments

Upgrading @babel/runtime to 7.0.0-beta.56 breaks the build #22

vladgolubev opened this issue Aug 4, 2018 · 2 comments


Copy link

@vladgolubev vladgolubev commented Aug 4, 2018

What I tried:

  • Installing @babel/runtime-corejs2
  • Adding custom babelrc with this: { "plugins": [ "@babel/plugin-transform-runtime", { "corejs": 2 } ] }
  • Installing @babel/plugin-transform-runtime with @babel/core and pinning them to 7.0.0-beta.56

But didn't change the situation.

Relevant links:

Relevant post on Meteor Forum:

Relevant Meteor issue: meteor/meteor#10126

Babel release changelog:

Updated docs for runtime plugin:

Original PR in Babel: babel/babel#8266

Here is the stacktrace:

=> Started proxy.                             
W20180804-14:25:34.341(0)? (STDERR) XXXXXXXXX/.meteor/local/build/programs/server/boot.js:475
W20180804-14:25:34.381(0)? (STDERR) }).run();
W20180804-14:25:34.381(0)? (STDERR)    ^
W20180804-14:25:34.382(0)? (STDERR) 
W20180804-14:25:34.382(0)? (STDERR) Error: Cannot find module '@babel/runtime/helpers/builtin/interopRequireDefault'
W20180804-14:25:34.382(0)? (STDERR)     at Function.Module._resolveFilename (module.js:547:15)
W20180804-14:25:34.383(0)? (STDERR)     at Function.resolve (internal/module.js:18:19)
W20180804-14:25:34.383(0)? (STDERR)     at Object.require (XXXXXXXXX/.meteor/local/build/programs/server/boot.js:288:32)
W20180804-14:25:34.384(0)? (STDERR)     at makeInstallerOptions.fallback (packages/modules-runtime.js:651:18)
W20180804-14:25:34.384(0)? (STDERR)     at require (packages/modules-runtime.js:244:16)
W20180804-14:25:34.384(0)? (STDERR)     at livedata_connection.js (XXXXXXXXX/.meteor/local/build/programs/server/packages/ddp-client.js:147:30)
W20180804-14:25:34.384(0)? (STDERR)     at fileEvaluate (packages/modules-runtime.js:343:9)
W20180804-14:25:34.385(0)? (STDERR)     at require (packages/modules-runtime.js:238:16)
W20180804-14:25:34.385(0)? (STDERR)     at namespace.js (packages/ddp-client/common/namespace.js:1:300)
W20180804-14:25:34.385(0)? (STDERR)     at fileEvaluate (packages/modules-runtime.js:343:9)
Copy link

@benjamn benjamn commented Aug 4, 2018

I will need to fix this when I update everything to 7.0.0-beta.56. In the meantime, you might want to stay on beta.55. The good news is that Babel 7 seems very close to its first release candidate!

Copy link

@pilarArr pilarArr commented Aug 28, 2018

Babel 7 is out 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants