PhpStorm terminal npm (node)
I've just recently started using gulp.js in my projects and i've been trying to learn and use terminal a lot more.
When i run npm commands from the mac terminal default console everything works great however when i run the same commands in phpstorm the command is not found.
I've followed phpstorms guides on installing and integrating the nodeJS plugin etc but i cant seem to get any of the commands to work through the integrated terminal even though its in my usr/local/bin and was installed globally etc.
When i SSH to vagrant though i can use the npm commands etc. Would anyone happen to be able to suggest anything?
Many thanks
请先登录再写评论。
If anyone else runs into this issue, launch PhpStorm from terminal like 'open -a /Applications/PhpStorm.app/' and you can use the commands
Cheers,