![](/img/trans.png)
[英]node.js express app won't start (or debug) in Eclipse (Nodeclipse)
[英]Nodeclipse won't run or debug app on OSX Maverick, nodeclipse 0.8.0, and JDK 1.7.03_45
當我嘗試運行或調試nodejs應用程序時,我得到並且錯誤:
java.io.IOException: Cannot run program "node" (in directory
"/Users/<USERNAME>/Documents/Projects/<PROJECTNAME>"): error=2, No such file or directory.
我可以在終端上運行應用程序。
我的系統是OSX Maverick,Eclipse Standard / SDK版本:Kepler Service Release 1 Build id:20130919-0819,Nodeclipse 0.8.0,jdk1.7.0_45.jdk
不確定這是錯誤還是配置錯誤。 我想知道如何解決這個問題。
它應該自解決問題,因為很明顯無法找到節點所以需要檢查當前配置窗口 - >首選項 - > Nodeclipse
Disable Find node on PATH,
then select node exact location, e.g. on Windows C:\Program Files\nodejs\node.exe
仔細檢查偏好,稍微試驗一下。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.