调用方法' Mongol_verifyDoc' ReferenceError:未定义匹配

时间:2016-01-27 09:10:52

标签: javascript node.js meteor

我是流星的新手,不知道为什么我在控制台中收到此错误。

=> Meteor server restarted                    
I20160127-14:34:59.949(5.5)? Exception while invoking method 'Mongol_verifyDoc' ReferenceError: Match is not defined
I20160127-14:34:59.949(5.5)?     at [object Object].Meteor.(anonymous function).Mongol_verifyDoc (packages/msavin_jetsetter/server/main.js:1:1)
I20160127-14:34:59.950(5.5)?     at maybeAuditArgumentChecks (livedata_server.js:1698:12)
I20160127-14:34:59.950(5.5)?     at livedata_server.js:708:19
I20160127-14:34:59.950(5.5)?     at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
I20160127-14:34:59.950(5.5)?     at livedata_server.js:706:40
I20160127-14:34:59.950(5.5)?     at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
I20160127-14:34:59.950(5.5)?     at livedata_server.js:704:46
I20160127-14:34:59.950(5.5)?     at tryCallTwo (/home/sachin/.meteor/packages/promise/.0.5.1.1550ocw++os+web.browser+web.cordova/npm/node_modules/meteor-promise/node_modules/promise/lib/core.js:45:5)
I20160127-14:34:59.950(5.5)?     at doResolve (/home/sachin/.meteor/packages/promise/.0.5.1.1550ocw++os+web.browser+web.cordova/npm/node_modules/meteor-promise/node_modules/promise/lib/core.js:171:13)
I20160127-14:34:59.950(5.5)?     at new Promise (/home/sachin/.meteor/packages/promise/.0.5.1.1550ocw++os+web.browser+web.cordova/npm/node_modules/meteor-promise/node_modules/promise/lib/core.js:65:3)

我正在使用以下套餐: -

meteor-base             # Packages every Meteor app needs to have
mobile-experience       # Packages for a great mobile UX
mongo                   # The database Meteor supports right now
blaze-html-templates    # Compile .html files into Meteor Blaze views
session                 # Client-side reactive dictionary for your app
jquery                  # Helpful client-side library
tracker                 # Meteor's client-side reactive programming library

standard-minifiers      # JS/CSS minifiers run for production mode
es5-shim                # ECMAScript 5 compatibility for older browsers.
ecmascript              # Enable ECMAScript2015+ syntax in app code

kadira:flow-router
kadira:blaze-layout
erasaur:meteor-lodash
stolinski:stylus-multi
fortawesome:fontawesome
spiderable
fastclick
raix:handlebar-helpers
aldeed:collection2
aldeed:autoform
accounts-ui
accounts-password
matb33:bootstrap-glyphicons
msavin:jetsetter
zimme:active-route
gwendall:auth-client-callbacks

2 个答案:

答案 0 :(得分:5)

https://www.youtube.com/watch?v=BvkQNTIfbQk

我也有同样的错误 有评论说要运行

meteor add check

这解决了我的错误

答案 1 :(得分:1)

只需在.meteor/local/packages文件中注释掉以下包。

msavin:jetsetter