Need help with 'Cannot find module' error

Hi there,

I believe this is happening because your imports are missing the js extension. There is a fair amount of background as to why it is like this, but this Stack Overflow post has some options on how to resolve it: https://stackoverflow.com/questions/62619058/appending-js-extension-on-relative-import-statements-during-typescript-compilat

You could also remove the "type": "module" line from your package.json and have Typescript output CommonJS modules.

Regards,

Keith
Render Support, UTC+10 :australia:

1 Like