sirkitree / DrupalCodingStandard

A Sublime build script for running Drupal Code Sniffer.
39 stars 14 forks source link

[WinError 2] The system cannot find the file specified #10

Open ssteigen opened 8 years ago

ssteigen commented 8 years ago

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."

Error-418 commented 8 years ago

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.

amrendramourya commented 6 years ago

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