我在我的Win7上運行Meteor。由於隕石尚未在Windows上支持,因此我遵循http://goo.gl/BWauOk中提到的說明。我配置了我的設置繞過代理,我可以克隆鐵路由器的軟件包和依賴關係。所以,我認爲我的代理設置沒有問題。不過,我得到以下錯誤,當我嘗試從我的項目啓動流星:在Windows 7中添加Iron-Router軟件包到Meteor 0.6.4.1
$ meteor
[[[[[ c:\temp\projects\testapp ]]]]]
iron-router: updating npm dependencies -- connect...
No dependency info in bundle. Filesystem monitoring disabled.
=> Errors prevented startup:
Exception while bundling application:
Error: Can't install npm dependencies. Check your internet connection and try ag
ain.
at Object._.extend._ensureConnected (c:\Program Files (x86)\Meteor\tools\met
eor_npm.js:375:13)
at Object._.extend._installNpmModule (c:\Program Files (x86)\Meteor\tools\me
teor_npm.js:344:10)
at _.extend._createFreshNpmDirectory (c:\Program Files (x86)\Meteor\tools\me
teor_npm.js:198:12)
at Function._.each._.forEach (c:\Program Files (x86)\Meteor\lib\node_modules
\underscore\underscore.js:86:24)
at Object._.extend._createFreshNpmDirectory (c:\Program Files (x86)\Meteor\t
ools\meteor_npm.js:197:7)
at Object._.extend.updateDependencies (c:\Program Files (x86)\Meteor\tools\m
eteor_npm.js:85:14)
at _.extend.installNpmDependencies (c:\Program Files (x86)\Meteor\tools\pack
ages.js:317:17)
at _.extend._maybeUpdateNpmDependencies (c:\Program Files (x86)\Meteor\tools
\bundler.js:441:13)
at _.extend.use (c:\Program Files (x86)\Meteor\tools\bundler.js:480:10)
at self.api.use (c:\Program Files (x86)\Meteor\tools\bundler.js:133:21)
at Array.forEach (native)
at Function._.each._.forEach (c:\Program Files (x86)\Meteor\lib\node_modules
\underscore\underscore.js:78:11)
at Object.self.api.use (c:\Program Files (x86)\Meteor\tools\bundler.js:129:9
)
at null.on_use_handler (c:\temp\projects\testapp\packages\blaze-la
yout\package.js:6:7)
at _.extend.use (c:\Program Files (x86)\Meteor\tools\bundler.js:483:11)
at self.api.use (c:\Program Files (x86)\Meteor\tools\bundler.js:133:21)
at Array.forEach (native)
at Function._.each._.forEach (c:\Program Files (x86)\Meteor\lib\node_modules
\underscore\underscore.js:78:11)
at Object.self.api.use (c:\Program Files (x86)\Meteor\tools\bundler.js:129:9
)
at _.extend.init_from_app_dir [as on_use_handler] (c:\Program Files (x86)\Me
teor\tools\packages.js:238:11)
at _.extend.use (c:\Program Files (x86)\Meteor\tools\bundler.js:483:11)
at Object.exports.bundle (c:\Program Files (x86)\Meteor\tools\bundler.js:897
:12)
at c:\Program Files (x86)\Meteor\tools\run.js:698:26
at exports.inFiber (c:\Program Files (x86)\Meteor\tools\fiber-helpers.js:24:
12)
Please fix the problem and restart.
我應該怎麼做,從運行Windows 7我的流星應用程序?
你使用Meteor 0.9嗎?從0.9開始,你不再需要Meteorite來添加第三方軟件包,你可以使用'meteor add iron:router'。不知道這會解決您的問題,但值得一試。 – 2014-09-05 01:33:02
我怎樣才能知道我有什麼版本的流星?我從win.meteor.com安裝了最新的.exe引導程序。是0.9版嗎?順便說一下,我認爲鐵路路由器不適用於流星0.9,至少這是我從大氣中收集的。 – 2014-09-05 02:53:10
您可以運行'meteor --version'來找到版本。沒有0.9.x的Windows端口尚未發佈。鐵:路由器已更新爲與流星的0.9.x版本一起工作。 – StephenD 2014-09-07 21:44:23