Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webstorm 2017.2 - Error running 'CSScomb': Cannot run program #9

Open
Alecto opened this issue Aug 1, 2017 · 3 comments
Open

Webstorm 2017.2 - Error running 'CSScomb': Cannot run program #9

Alecto opened this issue Aug 1, 2017 · 3 comments

Comments

@Alecto
Copy link

Alecto commented Aug 1, 2017

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.

@Alecto
Copy link
Author

Alecto commented Nov 10, 2017

any help?

@ryanpagel
Copy link

I get the same error.

@yakovlevkll
Copy link
Contributor

The problem is that Windows system cannot open file with no extension from csscomb\bin\csscomb.

So I solved the problem this way:

  1. Install csscomb globally npm i -g csscomb.
  2. Run npm config get prefix and copy outputted path.
  3. In IDE, in External tool path insert copied path and add \csscomb.cmd.
  4. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants