Core-js: Cannot find module ./src/data

Created on 2 Dec 2019  Â·  8Comments  Â·  Source: zloirock/core-js

Hello,

my rollup builds have suddenly started failing...

i get the attached screenshot, and when i look in the related node_modules folder i can see core-js-compat/helpers.js is trying to require a file/folder that does not exist. Can anyone help out?

I know there's a lot of info you may require... please let me know what you need - but i hope it's just a case of not requiring a file that doesn't exist.

[REDACTED]

Most helpful comment

Installing this module says

âžœ  loadbalancer-ff git:(master) ✗ npm i [email protected]
npm ERR! code ETARGET
npm ERR! notarget No matching version found for [email protected]
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:

@mikemak-es @zloirock has this been pushed?

All 8 comments

It's fixed in 3.4.7.

Installing this module says

âžœ  loadbalancer-ff git:(master) ✗ npm i [email protected]
npm ERR! code ETARGET
npm ERR! notarget No matching version found for [email protected]
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:

@mikemak-es @zloirock has this been pushed?

Yes, it's on npm: https://www.npmjs.com/package/core-js-compat/v/3.4.7

Probably it's a proxy/cache between you and the registry which hasn't been updated yet.

Is there a way to force update the package to 3.4.7? I get the same error @wilforlan got

I can confirm this. I can't install version 3.4.7

No matching version found for [email protected]

I used

npm cache clean --force

And still the same. A workaround could be only wait?

Ref - https://github.com/npm/cli/issues/545
Please :+1: that issue.

I used npm i [email protected] --save to force update it

I used npm i [email protected] --save to force update it

This fixed it for me, thank you!

Was this page helpful?
0 / 5 - 0 ratings