Error: Cannot find module '/home/runner/boilerplate-project-urlshortener/index.js'

Hi all

I get this error when using the debugger:
“Error: Cannot find module ‘/home/runner/boilerplate-project-urlshortener/index.js’”

How do I fix this?

Thanks for your time

Jaime

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36

Challenge: URL Shortener Microservice

Link to the challenge:

1 Like

You need to open .replit file before running. It is a common replit.com issue.

How do you do that? Do I have to write a certain line of code?

There is a file with name .replit in your repl. Just click to open it and run. It will run smoothly.

3 Likes

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