I was working on the Next.js app. I installed the react-use
package in my Next.js project!
Suddenly Next.js started throwing errors!
Then, I searched for similar errors on Stackoverflow. Some of them suggested removing node_modules
and package-lock.json
and trying to reinstall npm packages. I did so, but nothing seems working! Then restarted VSCode and computer, but the error was still there!
Even I tried to install that package, which is shown in error, but again it throwing an error for another package.
I am not sure why suddenly started throwing errors!
This is my package.json
I tried to update NextUI's latest version which is "@nextui-org/react": "^1.0.0-beta.9"
My current package.json
file, after updating the NextUI