I am trying to run my nextJS project But I am facing some errors related to caniuse-lite. I am facing Error: Cannot find module ‘caniuse-lite/data/features/css-unicode-bidi’. To solve this error you just need to install caniuse-lite‘s older version. In This tutorial, I am going to share how I solved this error.
How Error: Cannot find module ‘caniuse-lite/data/features/css-unicode-bidi’ Ocuurs?
When I am trying to run my nextjs Project I am facing the following error.
Error: Cannot find module 'caniuse-lite/data/features/css-unicode-bidi'
How To Solve Error: Cannot find module ‘caniuse-lite/data/features/css-unicode-bidi’?
- How To Solve Error: Cannot find module 'caniuse-lite/data/features/css-unicode-bidi'?
To Solve Error: Cannot find module 'caniuse-lite/data/features/css-unicode-bidi' You need to downgrade caniuse-lite to the 1.0.30001397 and it will solve your error. Jut run this command in your terminal: npm install caniuse-lite@1.0.30001397 And now, your error will be solved.
- Error: Cannot find module 'caniuse-lite/data/features/css-unicode-bidi'
To Solve Error: Cannot find module 'caniuse-lite/data/features/css-unicode-bidi' You need to downgrade caniuse-lite to the 1.0.30001397 and it will solve your error. Jut run this command in your terminal: npm install caniuse-lite@1.0.30001397 And now, your error will be solved.
Solution 1: Downgrade caniuse-lite
To Solve Error: Cannot find module ‘caniuse-lite/data/features/css-unicode-bidi’ You need to downgrade caniuse-lite to the 1.0.30001397 and it will solve your error. Jut run this command in your terminal.
npm install caniuse-lite@1.0.30001397
And now, your error will be solved.
Conclusion
It’s all About this error. I hope We Have solved Your error. Comment below Your thoughts and your queries. Also, Comment below on which solution worked for you.
Also, Read
- npm ERR! cb.apply is not a function
- The engine “node” is incompatible with this module
- Could not find the implementation for builder @angular-devkit/build-angular:dev-server
- ReferenceError: primordials is not defined
- Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No “exports” main resolved