运行Meteor app

时间:2015-11-09 01:00:31

标签: node.js meteor

我可以让我的meteor应用程序成功构建并开始运行

meteor
=> Started proxy.
=> Started MongoDB.
=> Started your app.

=> App running at: http://localhost:3000/

但是当我使用Ctrl + C终止应用程序时,我得到以下堆栈转储:

^C
fs.js:439
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^
Error: EMFILE, too many open files '/Users/alex/.meteor/packages/meteor-tool/.1.1.10.1j76dru++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/static-assets/server/shell-server.js'
    at Object.fs.openSync (fs.js:439:18)
    at Object.fs.readFileSync (fs.js:290:15)
    at Object.Module._extensions..js (module.js:473:44)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at /tools/runners/run-app.js:141:7
    at /Users/alex/.meteor/packages/meteor-tool/.1.1.10.1j76dru++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/tool-env/cleanup.js:24:7
    at Array.forEach (native)
    at Function._.each._.forEach (/Users/alex/.meteor/packages/meteor-tool/.1.1.10.1j76dru++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
    at /Users/alex/.meteor/packages/meteor-tool/.1.1.10.1j76dru++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/tool-env/cleanup.js:23:7
    at Object.exports.noYieldsAllowed (/Users/alex/.meteor/packages/meteor-tool/.1.1.10.1j76dru++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/utils/fiber-helpers.js:73:14)
    at runHandlers (/Users/alex/.meteor/packages/meteor-tool/.1.1.10.1j76dru++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/tool-env/cleanup.js:20:16)
    at process.<anonymous> (/Users/alex/.meteor/packages/meteor-tool/.1.1.10.1j76dru++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/tool-env/cleanup.js:32:5)
    at process.g (events.js:180:16)
    at process.emit (events.js:92:17)
    at Signal.wrap.onsignal (node.js:790:46)

我无法将此错误追踪到我的代码中的特定点,因为在此堆栈跟踪中没有指向我所写的代码行。

我该如何解决这个问题?

0 个答案:

没有答案