Ask coding questions

← Back to all posts
Why is replit unable to find my module, and how do I fix it?
h
Infiniti20

repl.it is unable to find a module at the path given, but when I compile it, it runs fine, without any errors. I'm not sure why this is happening, but it gets rid of all my typechecking, which isn't ideal. Does anybody know how to fix this? You have to wait a second for the error to load.

The main file is in the app directory, BTW.

Voters
Infiniti20
Comments
hotnewtop
Coder100

Do you mean the linter? The typescript linter is very inaccurate and doesn't work.

Infiniti20

@Coder100 Yeah, it's real bad. It uses the same language server as VSCode though, which is why I was partly confused. The error isn't on VSCode, so I'll just use that for a bit.