Closed laurage closed 4 years ago
hey @laurage ,
try to install npm i core-js
manually.
It should be installed automatically
Hi, I thought this solved my problem for a minute but it didn't, I still get the same error. I tried with the latest core-js version (3.6.4) and also the one I think you use (3.0.0), no success. Any other idea?
ok, try to remove node_modules and package-lock.json. And run npm install
Hello, Sadly it's still bringing the same errors when doing this.
I'm closing the issue since nobody can reproduce the problem
Hello,
I have just installed react-cloudimage-responsive with npm but I get this error:
client.js:196 ./node_modules/react-cloudimage-responsive/dist/polyfills.jsModule not found: Error: Can't resolve 'core-js/es/math/trunc' in '/Users/me/Documents/code/projects/sanity-gatsby-portfolio/web/node_modules/react-cloudimage-responsive/dist'./node_modules/react-cloudimage-responsive/dist/polyfills.jsModule not found: Error: Can't resolve 'core-js/features/array/find' in '/Users/me/Documents/code/projects/sanity-gatsby-portfolio/web/node_modules/react-cloudimage-responsive/dist'./node_modules/react-cloudimage-responsive/dist/polyfills.jsModule not found: Error: Can't resolve 'core-js/features/array/for-each' in '/Users/me/Documents/code/projects/sanity-gatsby-portfolio/web/node_modules/react-cloudimage-responsive/dist'
This is what I got from the terminal upon install: `
npm audit fix
to fix them, ornpm audit
for details `I am using React 16.8.6.
Any idea of how to solve this? Thanks!