No such file or directory, stat '/app/views/index.html'

Could someone help me please.
I’m trying to create a discord bot for a group of friends, but I’m getting an error that a file doesn’t exist.
I don’t know much about programming, I’m doing it with the help of tutorials.
Attached capture of the error and code.
If you need any more capture let me know.
I would thank you a lot.
Captura de pantalla 2022-01-15 105906

Captura de pantalla 2022-01-15 105845

Hello @Ansaca,

When this happens, one of the most common problems is that the file name was simply misspelled. Try copying the name of the file and pasting into your code.

It also may be that the path is incorrect. Please note that when using a path from backend code, you have to specify the folder in which the frontend code is contained in the path.

I hope this helps

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