2

I’m encountering an error when trying to compile my React project that uses the react-idle-timer package. The error points to an unexpected token in index.esm.js of react-idle-timer, specifically on line 239. Since I’m using React Scripts (not a custom Webpack configuration), I’m not sure why this error is happening. Any suggestions would be great!

React version: 17.0.2 react-idle-timer version: 5.7.2 React Scripts version: 4.0.3

enter image description here

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.