maybe there is some “invisible character” in the schema file, something like a control character?
There must be some character not supported by the spec, that is the reason it is not parsing the schema.
i have tried it many times over and atleast the schema.graphql file has no odd characters. Is it possible that something that handles the encoding adds some odd things to it?
OK i created an empty text file and named it schema.graphql and added my schema there. Then with terminal i tried to push it and it went in… What is wrong with my vscode and terminal? Also with git bash terminal it works. But not with vscode terminal.
What is your OS? What version of VSCode? What terminal in VS Code are you using?
I use the Shell launcher VS Code extension to run different shells from terminal in VS Code, I am windows so I can run cmd, Powershell, and also have installed Git bash, and WSL bash
In VSCode terminal you can also change your default shell: F1 > Terminal: Select Default Shell