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
John_B
April 28, 2023, 3:30pm
2
Hi there,
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.
Regards,
John B
Here is what my file structure look like… The App worked perfectly in developmemt.
The routes folder is the fifth folder…
John_B
April 28, 2023, 8:59pm
5
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.
John B
system
Closed
May 28, 2023, 9:45pm
8
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.