安装 MessageFormat 后,meteor add gadicohen:messageformat
我在浏览器控制台中收到此错误:
Error invoking Method 'headersToken': Internal server error [500]
终端中的完整错误日志:
=> App running at: http://localhost:3000/
I20160104-14:23:58.795(1)? Exception while invoking method 'headersToken' Error: Did not check() all arguments during call to 'headersToken'
I20160104-14:23:58.797(1)? at [object Object]._.extend.throwUnlessAllArgumentsHaveBeenChecked (packages/check/match.js:411:1)
I20160104-14:23:58.797(1)? at Object.Match._failIfArgumentsAreNotAllChecked (packages/check/match.js:106:1)
I20160104-14:23:58.797(1)? at maybeAuditArgumentChecks (livedata_server.js:1695:18)
I20160104-14:23:58.797(1)? at livedata_server.js:708:19
I20160104-14:23:58.797(1)? at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
I20160104-14:23:58.797(1)? at livedata_server.js:706:40
I20160104-14:23:58.798(1)? at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
I20160104-14:23:58.798(1)? at livedata_server.js:704:46
I20160104-14:23:58.798(1)? at tryCallTwo (/Users/psychomachine/.meteor/packages/promise/.0.5.1.8idxpg++os+web.browser+web.cordova/npm/node_modules/meteor-promise/node_modules/promise/lib/core.js:45:5)
I20160104-14:23:58.798(1)? at doResolve (/Users/psychomachine/.meteor/packages/promise/.0.5.1.8idxpg++os+web.browser+web.cordova/npm/node_modules/meteor-promise/node_modules/promise/lib/core.js:171:13)
我是 Meteor 的新手,到目前为止一切都很顺利,但是由于这个错误,我不知道如何继续。我更喜欢使用 MessageFormat 而不是其他一些 i18 包,因为 MessageFormat 附带的翻译 GUI。
任何提示将不胜感激。
万事如意,腾冲