I spent around 6-7 months, trying to learn code a while ago.
I have had a break from it for a while as it was
confusing me & other things in life came up.
Now I’m ready to start again.
[WinError 2] The system cannot find the file specified
[cmd: [‘esvalidate.cmd’, ‘–format=sublime’, ‘C:\Users\ManDoesNotSubmit\Desktop\Es6NorwichAds\Es6NorwichAdverts.js’]]
It is confusing me because when I close sublime & re-open the document,
my new changes have been saved but it is still throwing this error….
I have searched forums, Youtube etc.
But all the responses I have found are regarding Python, Build systems & syntax errors.
Not the specific problem I am having.
I am running windows 10, on a cheap laptop.
I have checked the system environment variables & JS is present in both the extensions & path sections, so I cannot understand why it is throwing an error..
I am opening the file directly into sublime, from my desktop so If it could not find the file, it simply would not load the small amount of script I have written..
Any help would be appreciated.
Sounds like you’re missing the sublime-jsvalidate
npm package. See here
To be more precise: the error you’re getting is about
esvalidate.cmd not existing, not the file you’re trying to save.
Answered By – jvdmr