DrupalCodingStandard icon indicating copy to clipboard operation
DrupalCodingStandard copied to clipboard

[WinError 2] The system cannot find the file specified

Open ssteigen opened this issue 10 years ago • 2 comments

I'm trying to setup Sublime Text 3 to use this code sniffer, but when I hit ctrl+b, I get "[WinError 2] The system cannot find the file specified."

ssteigen avatar Dec 14 '15 17:12 ssteigen

This seems to be related to the old Ernno2 explained in the closed tickets. Sublime Text 3 isn't able to locate the phpcs command on the command line and bombs out with this WinError2.

Validated by bringing up the console (Ctrl + `) and entering just phpcs and tapping ENTER.

SublimeFixMacPath This article explains a bit more about what's going on.

I should note that I've tried several ways of working around this, and can't seem to find the magic key to get it to work.

Error-418 avatar Apr 22 '16 00:04 Error-418

I am facing same issue. Anybody know solution? Error: [WinError 2] The system cannot find the file specified

amrendramourya avatar Apr 04 '18 18:04 amrendramourya