【发布时间】:2016-10-23 22:33:09
【问题描述】:
我是 Meteor 的新手,第一次遇到 babel 函数名称的一些问题...... 但现在它会在 promise_server.js 类型错误中抛出异常
localhost 3000 在 chrome 中被阻止:ERR_CONNECTION_REFUSED
更改流星版本无济于事。希望你能帮助我:D
版本:流星 1.3.3.1
赢 10
=> Started proxy.
=> Started MongoDB.
=> Babel active on file extensions: es6.js, es6, jsx
C:\Users\Admin\AppData\Local\.meteor\packages\meteor-tool\1.3.3_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\meteor-promise\promise_server.js:165
throw error;
^
TypeError: Cannot call method 'displayName' of undefined
at SourceProcessorSet.addLegacyHandler (C:\tools\isobuild\build-plugin.js:142:64)
at C:\tools\isobuild\build-plugin.js:172:12
at Function._.each._.forEach (C:\Users\Admin\AppData\Local\.meteor\packages\meteor-tool\1.3.3_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\underscore\underscore.js:87:22)
at SourceProcessorSet.merge (C:\tools\isobuild\build-plugin.js:170:7)
at C:\tools\isobuild\compiler.js:376:26
at Array.forEach (native)
at C:\tools\isobuild\compiler.js:372:26
at C:\tools\utils\buildmessage.js:359:18
at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14)
at C:\tools\utils\buildmessage.js:352:34
at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14)
at C:\tools\utils\buildmessage.js:350:23
at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14)
at Object.enterJob (C:\tools\utils\buildmessage.js:324:26)
at C:\tools\isobuild\compiler.js:368:16
at C:\tools\isobuild\compiler.js:176:26
at Array.forEach (native)
at Function._.each._.forEach (C:\Users\Admin\AppData\Local\.meteor\packages\meteor-tool\1.3.3_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\underscore\underscore.js:79:11)
at Object.compile (C:\tools\isobuild\compiler.js:171:5)
at C:\tools\isobuild\bundler.js:2571:24
at C:\tools\utils\buildmessage.js:271:13
at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14)
at C:\tools\utils\buildmessage.js:264:29
at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14)
at C:\tools\utils\buildmessage.js:262:18
at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14)
at C:\tools\utils\buildmessage.js:253:23
at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14)
at Object.capture (C:\tools\utils\buildmessage.js:252:19)
at Object.exports.bundle (C:\tools\isobuild\bundler.js:2514:31)
at C:\tools\runners\run-app.js:591:36
at Function.run (C:\tools\tool-env\profile.js:489:12)
at bundleApp (C:\tools\runners\run-app.js:581:34)
at AppRunner._runOnce (C:\tools\runners\run-app.js:634:35)
at AppRunner._fiber (C:\tools\runners\run-app.js:887:28)
at C:\tools\runners\run-app.js:411:12
【问题讨论】:
标签: javascript mongodb meteor proxy localhost