D
D
Dmitry2014-12-23 17:38:06
Node.js
Dmitry, 2014-12-23 17:38:06

UglifyJS2 + phpstorm + windows (x64) how to make friends?

1. Installed nodejs by downloading from the site
2. Installed the nodejs plugin in phpstorm (8)
3. Specified the path to the installed nodejs in the phpstorm settings in the Node.js and NPM section (Node interpreter: path)
4. Installed Core Modules (folder in a separate project )
5. Installed uglify-js2 in Packages
6. Added UglifyJs to File Watchers and specified the path to the program (in the project folder - node_modules\uglify-js2\bin\uglifyjs2)
I create a js file and when I try to save I see an error:

CreateProcess error=193, %1 не является приложением Win32

Tell me - what am I doing wrong?
And does it make sense to change YUCompressor to this solution?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
haiku, 2014-12-23
@haiku

Probably there is not a binary, but a js script lies to run through a node? Try node blabla \ bla \ uglifyjs2
Also there is a description right there, although under pycharm, but under phpstorm it should be the same
https://www.jetbrains.com/pycharm/webhelp/minifyin...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question