Updating to 1.6.1 - Cannot find module 'core-js/modules/es7.string.pad-start'


#1

Hi - I just updated my Meteor to 1.6.1 and have run into a problem.

This is a Meteor-React program running on Ubuntu 16.04.

I installed node v8.9.4 myself using the npm utility “n” (from v8.9.3) and this also automatically installs npm v5.6.0 .

Then when I type website into Chrom (and other browsers) the website is not displayed and the console log reports:

Uncaught Error: Cannot find module 'core-js/modules/es7.string.pad-start’
at makeMissingError (modules-runtime.js?hash=9f9bb5e…:241)
at require (modules-runtime.js?hash=9f9bb5e…:251)
at runtime.js (ecmascript-runtime-client.js?hash=4f06b5a…:79)
at fileEvaluate (modules-runtime.js?hash=9f9bb5e…:353)
at require (modules-runtime.js?hash=9f9bb5e…:248)
at ecmascript-runtime-client.js?hash=4f06b5a…:106
at ecmascript-runtime-client.js?hash=4f06b5a…:115

Is anyone familiar with what I need to do to fix this?

I searched around and there were several solutions presented, but none were Meteor specific.

thx, jw


#2

run

meteor npm install core-js

And it should fix that


#3

That worked - thanks!

For others who might run into this, be aware that there is a similarly named package in directory node_modules.

It is “core.js” .


#4

This worked for me as well! Big thanks! :slight_smile: