I downloaded nodejs (v6.3.0 Current) from https://nodejs.org/en/ and installed it. I also installed the nodejs plugin in phpstorm
In the settings of the storm Settings β Languages ββ& Frameworks β Node.js and NPM - I can watch these settings
Next, in the phpStorm terminal phpStorm I type the command
npm install --save-dev babel And I see the node_modules folder in my project, which has babel.js
I also observe that in the settings Settings β Languages ββ& Frameworks β Node.js β the babel package has been added
In the Npm packgage storm settings, I change the path from C:\Program Files\nodejs\node_modules\npm to myProjectDir/node_modules (in my case itβs D:\!work\!WEBServers\OpenServer\domains\dev.test.ru\node_modules ) .
Why? Yes, I do not know why. Apparently because there is now this very Babel ...
Next, create a js file with simple code:
let foo = () => console.log('test'); foo(); and trying to add a watcher
But when I change something in the file - the storm gives me an error
An exception occurred while executing watcher 'Babel'. Watcher has been disabled. Fix it .: Cannot run program "D:! Work! WEBServers \ OpenServer \ domains \ dev.test.ru \ node_modules \ .bin \ babel" (in directory "D:! Work! WEBServers \ OpenServer \ domains \ dev.test .ru \ src "): CreateProcess error = 193,% 1 is not a Win32 application
What am I doing wrong? And where should I click to make it good?
How the hell do you want it, install correctly both node and babel and other extensions like gulp, grunt and others into the project. And how to add observers? How?
Video already watched with instructions. The dude puts the babel and even the console has the babel something command available ... I don't have :-(
And I read other instructions - itβs not working, so donβt send me to Google)





An exception occurred while executing watcher 'Babel'. Watcher has been disabled. Fix it.: Invalid executableAn exception occurred while executing watcher 'Babel'. Watcher has been disabled. Fix it.: Invalid executableAn exception occurred while executing watcher 'Babel'. Watcher has been disabled. Fix it.: Invalid executable......... In general, if you specify the"scripts": { "watch":"babel src -d out --presets es2015 -w" }setting inpackage.json"scripts": { "watch":"babel src -d out --presets es2015 -w" }and on just in the terminalphpstrormtypenpm run watch- then everything works like a clock ...... and here is the brain of the storm. - Alexey Shimanskyj