Open lasverg opened 5 years ago
I have the same issue
Same issue here!
If anybody else is running into this issue, it seems to be related to the core-js version.
Not sure how to fully resolve it, but running npm i --save core-js@2
has been working for me so far.
Solution to this error, without downgrading core js is the following:
Change the line 32 from react-skroll/lib/index.js from:
require("core-js/fn/object/entries.js");
to:
require("core-js/stable/object/entries.js");
Hi this lib not working with create-react-app
ModuleNotFoundError Could not find module in path: 'core-js/fn/object/entries.js' relative to '/node_modules/react-skroll/lib/index.js'
throwing following error evaluate /src/index.js:3 1 | import React from "react"; 2 | import ReactDOM from "react-dom";
for ref here is codesandbox link: https://codesandbox.io/s/cool-rubin-otw88