我最近想從0.5.4更新到Meteor 0.6.1,並在終端中做了一個meteor update
。立即在我的終端出現錯誤,基本上在我嘗試任何操作時拋出。無法正確安裝流星0.6.1
/Volumes/Macintosh HD/Users/martijn/.meteor/meteor: line 35: cd: /Volumes/Macintosh: No such file or directory
module.js:340
throw err;
^
Error: Cannot find module '/Volumes/Macintosh HD/Users/martijn/tools/meteor.js'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.runMain (module.js:492:10)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)
我刪除了所有流星的一個完整的重新安裝:
rm /usr/local/bin/meteor
rm -rf /usr/local/meteor
curl https://install.meteor.com | /bin/sh
同樣的錯誤,當我嘗試在我的網站目錄下創建一個流星項目。無法找出造成這種情況的原因,它曾經在我的Sites目錄中很好地工作。避免此錯誤的唯一方法是將所有文檔,示例,軟件包,腳本和工具文件夾粘貼到我的/Volumes/Macintosh HD/Users/martijn/
目錄以及非常混亂的項目中。
認爲它可能需要做些什麼,我在我的Macbook上運行兩個硬盤驅動器,爲我的文檔操作系統和硬盤的SSD。 /usr/local/bin
流星安裝在我的SSD上。在我看來,像安裝路徑,任何想法都沒有關係?
謝謝
太好了。如果順便說一句,我會接受你的答案。謝謝,流星到目前爲止一直是絕對的喜悅! –