[Solved] Error cant find babel file @babel/runtime/helpers/builtin/extends

I am running Meteor 1.6.1 on a new system. I downloaded my backup meteor application and moved it here. Now trying to run it it complains about not being able to find a babel file.

meteor run
[[[[[ ~/Development/payagol ]]]]]

=> Started proxy.
=> Meteor 1.7.0.5 is available. Update this project with ‘meteor update’.
=> Started MongoDB.
W20180829-12:26:42.049(-7)? (STDERR) /Users/tom/Development/payagol/.meteor/local/build/programs/server/boot.js:475
W20180829-12:26:42.075(-7)? (STDERR) }).run();
W20180829-12:26:42.076(-7)? (STDERR) ^
W20180829-12:26:42.076(-7)? (STDERR)
W20180829-12:26:42.076(-7)? (STDERR) Error: Cannot find module '@babel/runtime/helpers/builtin/extends’
W20180829-12:26:42.076(-7)? (STDERR) at Function.Module._resolveFilename (module.js:538:15)
W20180829-12:26:42.076(-7)? (STDERR) at Function.resolve (internal/module.js:18:19)
W20180829-12:26:42.077(-7)? (STDERR) at Object.require (/Users/tom/Development/payagol/.meteor/local/build/programs/server/boot.js:288:32)
W20180829-12:26:42.077(-7)? (STDERR) at makeInstallerOptions.fallback (packages/modules-runtime.js:651:18)
W20180829-12:26:42.077(-7)? (STDERR) at require (packages/modules-runtime.js:244:16)
W20180829-12:26:42.077(-7)? (STDERR) at livedata_connection.js (/Users/tom/Development/payagol/.meteor/local/build/programs/server/packages/ddp-client.js:147:16)
W20180829-12:26:42.077(-7)? (STDERR) at fileEvaluate (packages/modules-runtime.js:343:9)
W20180829-12:26:42.078(-7)? (STDERR) at require (packages/modules-runtime.js:238:16)
W20180829-12:26:42.078(-7)? (STDERR) at namespace.js (packages/ddp-client/common/namespace.js:1:300)
W20180829-12:26:42.078(-7)? (STDERR) at fileEvaluate (packages/modules-runtime.js:343:9)
=> Exited with code: 1

yeah @babel/runtime introduced a breaking change in beta-56, so you just need to pin beta-55:

meteor npm install --save-exact @babel/runtime@7.0.0-beta.55

This was addressed in 1.6.1.4 to give the user a better error and fix instructions (as well as 1.7.0.5)

1 Like

Thank you, that was the issue.
Closing issue .