Eclipse (Luna) 显然正在启动 grunt 作为外部构建工具。但是,Eclipse 控制台一直显示“env: node: No such file or directory”消息并且 grunt 任务无法运行。
移动到项目目录后,我可以在命令行(Eclipse 外部)成功运行 grunt。
Node 安装程序确实将它放在/usr/local/bin/node 上,但显然 grunt 期望它位于其他地方。
建议?
最佳答案
如果你正在使用 Homebrew 试试
brew unlink node
然后
brew link node
关于eclipse - 我不断得到 "env: node: No such file or directory"在 Eclipse 上运行 Grunt 作为 MacOS Yosemite 下的外部工具,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30630211/