I am pretty new to coding and am having this issue, can't understand how to fix it, I have seen similar questions asked but, I just cant understand the majority of them. I've tried adding the path several times, have even reinstalled Vscode it just doesn't seem to resolve.
The code I've Written::
import 'dart:io';
void main() {
print("Enter your name");
var name = stdin.readLineSync();
print("The name is $name");
}
The Error I am Getting is:
Jack : The term 'Jack' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name,
or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Jack
+ ~~~~
+ CategoryInfo : ObjectNotFound: (Jack:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
I have tried:
1:Setting the Paths again
2:Reinstall vs code.
Any kind of information will really help, I can't really progress anymore because of this.