2
我試圖創建一個使用流星一個新的項目,但我得到這個消息:沒有這樣的文件或目錄... /流星/例子
user$ meteor create testProject1
fs.js:665
return binding.readdir(pathModule._makeLong(path));
^
Error: ENOENT, no such file or directory '/usr/local/lib/node_modules/meteor/examples'
at Object.fs.readdirSync (fs.js:665:18)
at Object.Commands.push.func (/usr/local/lib/node_modules/meteor/app/meteor/meteor.js:156:32)
at main (/usr/local/lib/node_modules/meteor/app/meteor/meteor.js:631:20)
at Object.<anonymous> (/usr/local/lib/node_modules/meteor/app/meteor/meteor.js:634:1)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
什麼是錯的任何想法和/或如何解決它?
謝謝!
爲我工作!有很多奇怪的問題。也意識到我沒有安裝Xcode(OS X),這顯然是很好的安裝,如這些!它在修復npm install -g meteor之前修復了一些錯誤,然後我試了一下。但這是修復它的最後一件事。 – timothyashaw 2015-01-23 22:57:24
@timothyashaw太棒了!很高興有幫助 – Deivuh 2015-01-25 01:26:00
看來這個軟件包不是真的流星https://github.com/meteor/meteor/issues/1721#issuecomment-31329080 – leech 2015-04-15 22:47:29