I installed the jade compiler using npm install -g jade.
However, when I try to run Jade from the command line, it mysteriously runs CoffeeScript.
PS C:\Users\P> get-command jade
CommandType Name ModuleName
----------- ---- ----------
Application jade.cmd
PS C:\Users\P> jade
coffee>
(^C again to quit)
coffee>
PS C:\Users\P> jade --version
CoffeeScript version 1.6.2
PS C:\Users\P> cd .\AppData\Roaming\npm
PS C:\Users\P\AppData\Roaming\npm> cat .\jade.cmd
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\node_modules\jade\bin\jade" %*
) ELSE (
node "%~dp0\node_modules\jade\bin\jade" %*
)
PS C:\Users\P\AppData\Roaming\npm>
Why is this happening??
Update
ok i did a 'where' jade.cmd and apparently there was another .cmd file which was calling coffeescript instead of jade.
ok i did a 'where' jade.cmd and apparently there was another .cmd file which was calling coffeescript instead of jade.