Update to 1.7.0.3 error in production only

I updated my project to 1.7.0.3 and it ran just fine from the project directory.

However, when I pushed it to production, with a metor build, I got the error in the client browser
“Uncaught Error: Cannot find module ‘core-js/modules/es6.object.is’”

This has only been reported before a few times in previous versions, so I looked in node_modules and there was no core-js, so I did a “meteor npm install core-js” and a redeploy and that fixed it.

My question is, was that the right thing to do? My understanding was that babel-runtime took care of core-js?

1 Like

Hi,

I’m also getting the same issue and I have installed the core-js using meteor npm install core-js
still, I’m getting the same issue.

Could you please help me to solve this issue