Error: Cannot find module ‘…/routes/tv_ideas.js’
Apr 28 01:24:04 AM Require stack:
Apr 28 01:24:04 AM - /opt/render/project/src/index.js
Apr 28 01:24:04 AM at Module._resolveFilename (node:internal/modules/cjs/loader:1082:15)
The ‘…/routes/tv_ideas.js’ is right their in the folder, but render cant find it
It’s hard to tell without access to your repo but a common cause for an error like this is that the casing on the file/folder is different to what your include is doing.
Here is what my file structure look like… The App worked perfectly in developmemt.
The routes folder is the fifth folder…
What about the contents of the routes folder?
These are the folders inside the root folder.
last file we need to see the contents of, index.js please.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.