2026/01/27 13:46:16 GoError: invalid file ./scripts/utils/exchange.js at C:\Users\Bryan\Desktop\napessa\mokambi\pb.js:3:42(10)
i’m a beginner to the language , when i write the command “go run .” i have this error line , but when i looking for the file “pb.js” he doesn’t exist anywhere i dont know how , someone can explain and help me please?
When you issue “go run .” go tries to compile and execute all the files in the current dir. So it checks every file and it seems you have some non .go files in it. So move them to another folder and make the proper changes to find them inside your code.