当我尝试将我的Meteor应用程序从1.1升级到1.2并将所有相关软件包更新到最新更新时,我遇到了导致我的应用无法启动的问题。从我看来,它涉及包Search Source
我在控制台上看到的错误是:
W20151024-13:16:43.165(2)? (STDERR) /Users/emindurak/.meteor/packages/meteor-tool/.1.1.9.3zwwyi++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:245
W20151024-13:16:43.165(2)? (STDERR) throw(ex);
W20151024-13:16:43.165(2)? (STDERR) ^
W20151024-13:16:43.165(2)? (STDERR) TypeError: Object #<Object> has no method 'methods'
W20151024-13:16:43.165(2)? (STDERR) at Package (packages/meteorhacks_search-source/packages/meteorhacks_search-source.js:17:1)
W20151024-13:16:43.165(2)? (STDERR) at Package (packages/meteorhacks_search-source/packages/meteorhacks_search-source.js:80:1)
W20151024-13:16:43.166(2)? (STDERR) at /Users/emindurak/Desktop/deneme1/kitapp/.meteor/local/build/programs/server/packages/meteorhacks_search-source.js:101:4
W20151024-13:16:43.166(2)? (STDERR) at /Users/emindurak/Desktop/deneme1/kitapp/.meteor/local/build/programs/server/packages/meteorhacks_search-source.js:110:3
W20151024-13:16:43.166(2)? (STDERR) at /Users/emindurak/Desktop/deneme1/kitapp/.meteor/local/build/programs/server/boot.js:242:10
W20151024-13:16:43.166(2)? (STDERR) at Array.forEach (native)
W20151024-13:16:43.166(2)? (STDERR) at Function._.each._.forEach (/Users/emindurak/.meteor/packages/meteor-tool/.1.1.9.3zwwyi++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
W20151024-13:16:43.166(2)? (STDERR) at /Users/emindurak/Desktop/deneme1/kitapp/.meteor/local/build/programs/server/boot.js:137:5
答案 0 :(得分:1)
我卸载并重新安装了搜索源包,然后它开始正常工作。 :)