Module not found for @material-ui/core/CheckBox when it is installed

My @material-ui/core/CheckBox module is not found when I tried to run npm run build error when run npm run bhuild

I checked manually in `node_modules/core/@material-ui/Checkbox and the package is there. However, npm is looking for the package outside of node_modules and hence having error trying to find it. error installing package. My node version is 16.0.0 and npm is 7.11.0.

I have tried delete node_modules folder and do npm install again multiple time but the same error exists. I tried to run the same setup in another ubuntu machine and it works, but not sure why it doesn't in this specific VM that I need it to run to host on the server.



Read more here: https://stackoverflow.com/questions/67395716/module-not-found-for-material-ui-core-checkbox-when-it-is-installed

Content Attribution

This content was originally published by Chloe at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: