Deploy Error "Module Not Found"

I am getting the following error through Render:

Apr 24 02:16:09 PM Module not found: Error: Can’t resolve ‘…/context/user’ in ‘/opt/render/project/src/client/src/Components’

I’m not sure where in my codebase I should be looking for this line and could use help, thanks!

Hi,

I suspect this is a casing issue. Linux filesystems are case-sensitive, so the code and filesystem need to match, for example if:

Can’t resolve ‘…/context/user’

Is actually ../Context/user (captial C) that would be a different path.

Alan

It’s about making sure the casing matches the code and the files you’re referencing. You’d need to check the path, as well as it’s capitalization, just changing to uppercase without checking likely wouldn’t work.

If you’re still having trouble, you’ll need to provide some more details. e.g. logs/error messages, screenshots, file structure, etc., to highlight the problem you’re experiencing.

Alan

Thank you!

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