I have got a error

Question:
How do i fix it
Repl link:
https://replit.com/@AvinashDada/iG-overpowered#README.md

code snippet

Welcome to Ask! You need to either put an index.js file in your Repl or edit the file that it runs.

To edit the default file to run

Just click the next to “Files” then click “Show hidden files”. Next click on the .replit file and finally you can change the entrypoint to whatever file you want to run.

Images

Dots

Show hidden files

edited

You should also see the docs on how to configure a Repl: https://docs.replit.com/programming-ide/configuring-repl

And if you want to run the last edited file, take a look at this post:

Specify the currently open file as entrypoint in .replit - #5 by UMARismyname

4 Likes

Also @HeroHomeo, I noticed that an API key gets exposed within config.json and can be seen by anyone. If you want to hide its value, you can set it to a process.env variable using Replit’s ‘secrets’ tool. This documentation page may help.

3 Likes