在本地运行的Meteor.js应用程序抛出TypeError:无法读取属性' appId'未定义的

时间:2016-08-14 18:02:12

标签: javascript node.js mongodb meteor

全新的流星,只使用过铁轨。一位朋友给了我她的应用程序搞砸了。当我在控制台中运行meteor run并加载localhost时,我在浏览器中收到以下错误消息。我发现我无法理解错误信息。有人可以帮我理解吗?

/Users/mainuser/.meteor/packages/meteor-tool/.1.4.0-1.l0olq8++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280
                        throw(ex);
                        ^

TypeError: Cannot read property 'appId' of undefined
    at meteorInstall.imports.startup.server.useraccounts-configuration.js (imports/startup/server/useraccounts-configuration.js:9:12)
    at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1)
    at Module.require (packages/modules-runtime/.npm/package/node_modules/install/install.js:82:1)
    at Module.Mp.import (/Users/sammyunterman/.meteor/packages/modules/.0.7.5.1f9ncrv++os+web.browser+web.cordova/npm/node_modules/reify/lib/runtime.js:70:16)
    at meteorInstall.imports.startup.server.index.js (imports/startup/server/index.js:1:1)
    at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1)
    at Module.require (packages/modules-runtime/.npm/package/node_modules/install/install.js:82:1)
    at Module.Mp.import (/Users/sammyunterman/.meteor/packages/modules/.0.7.5.1f9ncrv++os+web.browser+web.cordova/npm/node_modules/reify/lib/runtime.js:70:16)
    at meteorInstall.server.main.js (server/main.js:1:8)
    at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1)
Exited with code: 1
Your application is crashing. Waiting for file change.

1 个答案:

答案 0 :(得分:1)

谢谢@ king-julian

这是/imports/startup/server/useracounts-configuration.js中的facebook ServiceConfiguration方法。