[SOLVED] Weird error has started to appear in the browser console

I’ve been seeing this for the last few days in the browser console. I don’t remember changing anything that might have led to this, although I did upgrade from 1.9 to 1.9.3. My guess is that it’s babel related. Anyone have any ideas? (Downgrading to 1.9 doesn’t help.)

meteor npm install @babel/runtime@latest doesn’t help. Neither does meteor npm install meteor-babel@7.8.2.

The error doesn’t break the dev version, so things still seem to run on localhost, but it does prevent the page from loading in the production.

Error: Cannot find module '../internals/iterators' [modules-runtime.js:232:12](http://localhost:3000/packages/modules-runtime.js?hash=23fe92393aa44a7b01bb53a510a9cab5fb43037c)

makeMissingError http://localhost:3000/packages/modules-runtime.js?hash=23fe92393aa44a7b01bb53a510a9cab5fb43037c:232
require http://localhost:3000/packages/modules-runtime.js?hash=23fe92393aa44a7b01bb53a510a9cab5fb43037c:251
require http://localhost:3000/packages/modules-runtime.js?hash=23fe92393aa44a7b01bb53a510a9cab5fb43037c:268
module http://localhost:3000/packages/ecmascript-runtime-client.js?hash=6316844d2386206b6dc67ab79d0760243baff3d7:1709
fileEvaluate http://localhost:3000/packages/modules-runtime.js?hash=23fe92393aa44a7b01bb53a510a9cab5fb43037c:346
require http://localhost:3000/packages/modules-runtime.js?hash=23fe92393aa44a7b01bb53a510a9cab5fb43037c:248
require http://localhost:3000/packages/modules-runtime.js?hash=23fe92393aa44a7b01bb53a510a9cab5fb43037c:268
module http://localhost:3000/packages/ecmascript-runtime-client.js?hash=6316844d2386206b6dc67ab79d0760243baff3d7:1656
fileEvaluate http://localhost:3000/packages/modules-runtime.js?hash=23fe92393aa44a7b01bb53a510a9cab5fb43037c:346
require http://localhost:3000/packages/modules-runtime.js?hash=23fe92393aa44a7b01bb53a510a9cab5fb43037c:248
require http://localhost:3000/packages/modules-runtime.js?hash=23fe92393aa44a7b01bb53a510a9cab5fb43037c:268
module http://localhost:3000/packages/ecmascript-runtime-client.js?hash=6316844d2386206b6dc67ab79d0760243baff3d7:252
fileEvaluate http://localhost:3000/packages/modules-runtime.js?hash=23fe92393aa44a7b01bb53a510a9cab5fb43037c:346
require http://localhost:3000/packages/modules-runtime.js?hash=23fe92393aa44a7b01bb53a510a9cab5fb43037c:248
require http://localhost:3000/packages/modules-runtime.js?hash=23fe92393aa44a7b01bb53a510a9cab5fb43037c:268
module http://localhost:3000/packages/ecmascript-runtime-client.js?hash=6316844d2386206b6dc67ab79d0760243baff3d7:46
fileEvaluate http://localhost:3000/packages/modules-runtime.js?hash=23fe92393aa44a7b01bb53a510a9cab5fb43037c:346
require http://localhost:3000/packages/modules-runtime.js?hash=23fe92393aa44a7b01bb53a510a9cab5fb43037c:248
require http://localhost:3000/packages/modules-runtime.js?hash=23fe92393aa44a7b01bb53a510a9cab5fb43037c:268
<anonymous> http://localhost:3000/packages/ecmascript-runtime-client.js?hash=6316844d2386206b6dc67ab79d0760243baff3d7:2017
<anonymous> http://localhost:3000/packages/ecmascript-runtime-client.js?hash=6316844d2386206b6dc67ab79d0760243baff3d7:2022

Something weird was going on in the build process - maybe a dodgy file was cached or something had been inadvertently deleted. It wasn’t until I reinstalled meteor that things started working again:

curl https://install.meteor.com/ | sh
3 Likes