问题
Using OSX 10.8.4, Idea 12. Node v0.10.17, yo v1.0.3
When attempting to use Yeoman as an external tool in I get
/usr/local/bin/yo angular
env: node: No such file or directory
When I run the same command from bash it works correctly. What am I missing in my Intellij configuration?
Here's how I have it setup ...
Program: /usr/local/bin/yo
Parameters: angular
回答1:
I just came across this for a different project. I fixed it by opening the executing .js file (/usr/local/lib/node_modules/[project_name]/bin/[executing.js]) in vim and using the following command
:set ff=unix
来源:https://stackoverflow.com/questions/18431107/using-yeoman-from-intellij-idea-12