I'm using create-react-app with react-bootstrap and I'm getting this error when I run npm start:
Failed to compile ../node_modules/@restart/context/forwardRef.js
Module not found: Can't resolve 'react' in 'C:\Users...\node_modules@restart\context'
This error occurred during the build time and cannot be dismissed.
I already tried deleting package-lock.json and running npm install again but it didn't help.
npm install? - Damiennode_modules, runnpm cache cleanand runnpm installagain. - Amol B Jamkar