drivo / sublime-typescript-compiler

TypeScript compiler package for Sublime Text 2. You can compile fragment or whole .ts file into a new plain JavaScipt. Developed for JavaScript prototyping in mind.
Other
5 stars 3 forks source link

Upon build attempt, Result: 'C:\Program' is not recognized as an internal or external command #5

Closed onethread closed 10 years ago

onethread commented 10 years ago

Result: 'C:\Program' is not recognized as an internal or external command, operable program or batch file.

It can't seem to get around the space.

I have my preferences set to:

{ "node_path" : "C:\Program Files\nodejs\node.exe", "typescript_path" : "C:\Program Files (x86)\Microsoft SDKs\TypeScript" }

Switching them to their DOS paths seems to work but that's a bit of a pain in the ass.

onethread commented 10 years ago

Looks like my typescript path was incorrectly pointing to the non-nodejs version. Changed it, and it works now, thanks.