[File Watchers] 'C:\Users\Username' is not recognized as internal or external command
Hi there,
O have been using for more than a year now, and never had this error before. if I try to compile TypeScript or SCSS files to js or css, I get the following error :
"'C:\Users\Abderrahmane' is not recognized as an internal or external command,
operable program or batch file."
in the following screen all the relevent information present. and the output that I get after compilation.
at first I got it in SCSS, but it did not bother me since I could still get the files compiled, but in TypeScript it does not.
Thanks
Please sign in to leave a comment.
anybody ? please
Hello!
please specify a full path to tsc.cmd in the program field
I have tried both representations of the Path to my typescript binaries, and it still give me the same error.
I'm not sure what you mean by PATH representations to typescript binaries... Please speciofy a full path to your cmd file in the program field of your file watcher. According to screenshots, you have it set to 'tsc.cmd'. It should be smth like C:\Users\your.name\AppData\Roaming\npm\tsc.cmd
by two representations I meant :
that's really strange.
Please provide screenshots showing up the watcher configuration and run console messages whern a full path is being used
here I think a video would be better https://dl.dropboxusercontent.com/u/4552000/videos/phpstorm.mp4
please can you attach your idea.log?
please also execute 'echo %PATH%' in the cmd window and send me the output
From http://i.imgur.com/2U1xoqR.png I can see that the same error is reported when you open windows cmd prompt
may be related: http://superuser.com/questions/571715/windows-command-line-not-recognized-as-an-internal-or-external-command-operab
Here is a screenshot of the result of echo %PATH% http://i.imgur.com/AqLa6rW.png
here is the idea.log : https://dl.dropboxusercontent.com/u/4552000/docs/idea.log
I will check the link
Thank you very much. it helped instantly :D have a good day. a good year. happy new year, happy holidays