Error code 2 when creating new file

Problem description:
i dont know why this error comes… it is running on main.cpp perfectly but when i create a newfile it shows some error

here’s link to my repl

Expected behavior:

Actual behavior:

Steps to reproduce:

Bug appears at this link: