Changing the entrypoint to

I want to change my entry point to a file in a folder, however, I get an error.

Here’s my .replit file:

Here’s the error:

Other posts related to this topic, target changing the entry point to a file in the root folder.

Hi @TimChinye !
Remove the . in front of /src, so it becomes /src/index.ts.
If that doesn’t work, remove ./ in front of src, so it becomes src/index.ts.
Hope this helps!

Thanks for the help, I tried both but neither worked.

What about moving all the code to a new Node.js repl without the Prybar? The error seems to be originating from the Prybar.

Sorry for the delay, I found a solution and forgot to check for new comments. Yes, this was the solution.

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