jetbrains-csscomb
jetbrains-csscomb copied to clipboard
Webstorm 2017.2 - Error running 'CSScomb': Cannot run program
Error running 'CSScomb': Cannot run program "D:\node_modules\csscomb\bin\csscomb" (in directory "D:\Temp\www\root"): CreateProcess error=193, %1 не является приложением Win32
I did everything according to the instructions. https://image.prntscr.com/image/UdYWI8nEQG6bTSEEdJZCBw.png
In the project's root is .csscomb.json from samples https://image.prntscr.com/image/sWZuYEdQRoSwgPE8lOyyZQ.png
but i have the error (((
Please help me figure out where my mistake is.
any help?
I get the same error.
The problem is that Windows system cannot open file with no extension from csscomb\bin\csscomb
.
So I solved the problem this way:
- Install csscomb globally
npm i -g csscomb
. - Run
npm config get prefix
and copy outputted path. - In IDE, in External tool path insert copied path and add
\csscomb.cmd
. - Don't forget to put your
.csscomb.json
in the root of you project folder.
My arguments and working directory are $FilePath$ -t
, and $FileDir$
respectively.