尝试使用meteor.js连接到mongoDB时出现TypeError

时间:2016-08-23 22:17:19

标签: javascript node.js mongodb meteor

我有一个新的流星项目,每次执行self.save.addTarget(self, action: #selector(self.helperFunc), forControlEvents: .TouchUpInside) 我都会得到以下内容:

meteor mongo

我想澄清该应用程序甚至没有启动,它被卡在C:\Users\edtho\AppData\Local\.meteor\packages\meteor-tool\1.4.1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\meteor-promise\promise_server.js:165 throw error; ^ TypeError: port should be a number or string: null at lookupAndConnect (net.js:942:13) at Socket.connect (net.js:921:5) at Object.exports.connect.exports.createConnection (net.js:69:35) at C:\tools\runners\run-mongo.js:280:24 at findMongoPort (C:\tools\runners\run-mongo.js:279:12) at Command.func (C:\tools\cli\commands.js:1132:21) at C:\tools\cli\main.js:1410:23 ,我找到了这个解决方案:starting your app我现在有一种预感,这可能是什么& #39;有冲突吗?

0 个答案:

没有答案