Error: module not found

While deploying nodejs code as a web service It gives Error: module not found.
any help will be appreciated… see the screenshots for detail errors.

index.js file is in backend folder.
I used build command- npm install.
… start command- cd backend; node index.js

before this error it logs build successfull.

Hi there,

Check that the file you are importing there matches the same casing as the file you have in Git, we use a case-sensitive file system so the casing has to be exactly the same as the code performing the import,

Regards,

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