@babel/runtime won't install after upgrade to 1.8?


#1

After upgrading from 1.7 to 1.8, I’m seeing this in the console:

If you notice problems related to these missing modules, consider running:
meteor npm install --save @babel/runtime

However, after running meteor npm install --save @babel/runtime, I still get the same console message.

How can I correct this?


#2

Try removing tge node_modules folder and check that the babel- runtime package is not in your package.json. Then meteor npm install again. This happens to me sometimes aswell


#3

Thanks @cloudspider. That worked.

Just to be on the safe side, I also:

  • Downloaded an entirely fresh copy of my source via git clone
  • Copied the .meteor directory into the new project folder from the previous source folder
  • Ran meteor reset and meteor update (I already have copies of my mongodb files so I can upload them again to local mongo after the reset)
  • Uninstalled Mongo from my local dev system and re-installed it
  • Ran mongo --shell in the terminal to access the mongo shell
  • Ran db.adminCommand( { setFeatureCompatibilityVersion: "3.4" } ) in Mongo shell since my current source expects Mongo 3.4

#4

That’s overkill, but indeed better safe than sorry :joy:


#5

I’m getting that same error message again now:

If you notice problems related to these missing modules, consider running:
meteor npm install --save @babel/runtime

…despite doing all of the above, and running meteor npm install --save @babel/runtime several times.

How can I correct this? Thanks very much in advance to all for any thoughts/info.