I can help!
Copy “${path_to_app}\node_modules\@babel\runtime\helpers” (just files, not folder “esm”)
to “${path_to_app}\node_modules\@babel\runtime\helpers\builtin” (create builtin folder)
I did work! The error is gone…
but then I got another:
[1] W20180804-20:58:51.028(8)? (STDERR) TypeError: _interopRequireDefault is not a function
[1] W20180804-20:58:51.029(8)? (STDERR) at livedata_connection.js (/Users/dc/bn2/api/.meteor/local/build/programs/server/packages/ddp-client.js:149:22)
[1] W20180804-20:58:51.029(8)? (STDERR) at fileEvaluate (packages/modules-runtime.js:322:7)
[1] W20180804-20:58:51.029(8)? (STDERR) at Module.require (packages/modules-runtime.js:224:14)
[1] W20180804-20:58:51.030(8)? (STDERR) at require (packages/modules-runtime.js:244:21)
[1] W20180804-20:58:51.030(8)? (STDERR) at namespace.js (packages/ddp-client/common/namespace.js:1:300)
[1] W20180804-20:58:51.030(8)? (STDERR) at fileEvaluate (packages/modules-runtime.js:322:7)
[1] W20180804-20:58:51.031(8)? (STDERR) at Module.require (packages/modules-runtime.js:224:14)
[1] W20180804-20:58:51.031(8)? (STDERR) at require (packages/modules-runtime.js:244:21)
[1] W20180804-20:58:51.032(8)? (STDERR) at server.js (packages/ddp-client/server/server.js:1:14)
[1] W20180804-20:58:51.050(8)? (STDERR) at fileEvaluate (packages/modules-runtime.js:322:7)
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!
Hi @benjamn,
I’m running meteor 1.7.0.4 and still seem to be running into this issue. When I start the app I see the following warnings with instructions to install @babel/runtime but I have already removed and reinstalled the latest babel runtime to no avail. My package.json shows a dependency on @babel/runtime version ^7.0.0. I tried removing and reinstalling again but of course see the same results:
Unable to resolve some modules:
"@babel/runtime/helpers/builtin/interopRequireDefault" in /Users/jeffry/repos/DC/urma-auto-ui/imports/ui/app.jsx (web.browser)
"@babel/runtime/helpers/builtin/extends" in /Users/jeffry/repos/DC/urma-auto-ui/imports/ui/app.jsx (web.browser)
If you notice problems related to these missing modules, consider running:
meteor npm install --save @babel/runtime
Yes, pinning version 55 works - but I thought Ben was suggesting the issue was resolved with 1.7.0.4 so that we could move up to the latest release version of babel. Am I misunderstanding that?
The update in 1.7.0.4 just makes Meteor give a better error message with the instruction to pin version 55:
The version of @babel/runtime installed in your node_modules directory
(56) contains a breaking change which was introduced by
https://github.com/babel/babel/pull/8266. Please either downgrade by
running the following command:
meteor npm install --save-exact @babel/runtime@7.0.0-beta.55
or update to the latest beta version of Meteor 1.7.1, as explained in
this pull request: https://github.com/meteor/meteor/pull/9942.
Thanks for the info. Oddly I was running meteor 1.7.0.4 (I specifically checked) and the message you show above is not the same one I saw. Mine said nothing about using the beta version.
At any rate, I’ve reverted to the beta version and all seems well now. Thanks again.