Module not found: Error: Can't resolve

Hi

i am trying to deploy my frontend of my react app for the first time using render. i have previously hosted my website on my local machine and it worked fine without any errors, but now as i am trying to deploy it on render… i am getting the module not found error

Failed to compile.

Dec 11 11:40:56 AM

Dec 11 11:40:56 AMModule not found: Error: Can’t resolve ‘./components/authComponents/Register’ in ‘/opt/render/project/src/chain-reaction/src’

Dec 11 11:40:56 AM

Dec 11 11:40:56 AM

Dec 11 11:40:56 AM==> Build failed :disappointed:

the path is correct and i have checked for case-sensitive errors… everything seems to be fine

Check your casing carefully - we run services on Linux so it’s a case-sensitive file system - the folders and file names have to match exactly what your import is using

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.