"流星蒙戈"与&QUOT崩溃;错误:EINVAL,无效的参数" [英] "meteor mongo" crashes with "Error: EINVAL, invalid argument"

查看:304
本文介绍了"流星蒙戈"与&QUOT崩溃;错误:EINVAL,无效的参数"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在下面的教程这里和我坚持在从控制台插入各方......我不能运行流星蒙戈

I'm following the tutorial here and am stuck at "inserting parties from the console"... I can't run "meteor mongo"

下面是我的输出:

$ meteor.bat mongo

C:\Users\USER\AppData\Local\.meteor\packages\meteor-tool\1.1.4\mt-os.windows.x86_3 2\dev_bundle\lib\node_modules\fibers\future.js:245
                                                throw(ex);
                                                      ^ Error: EINVAL, invalid argument
    at new Socket (net.js:157:18)
    at process.stdin (node.js:687:19)
    at Command.main.registerCommand.name [as func] (C:\Users\USER\AppData\Local\.m            eteor\packages\meteor-tool\1.1.4\mt-os.windows.x86_32\tools\commands.js:1036:12)
    at C:\Users\USER\AppData\Local\.meteor\packages\meteor-tool\1.1.4\mt-os.window s.x86_32\tools\main.js:1363:23

我在Windows 7 SP1使用Cygwin,并试图重启都没用。在这种情况下,相关使用控制-C不杀流星服务器,所以我一直在手动查杀所有的node.exe过程通过任务管理器。

I'm using Cygwin on Windows 7 SP1, and have tried restarting to no use. In case this is relevant using control-C doesn't kill the meteor server, so I have been killing all the node.exe processes manually through the task manager instead.

这是使用流星我第一次,并不能找到这个在任何地方复制。

This is my first time using meteor, and can't find this replicated anywhere.

**编辑**
这个工程使用DOS提示符,而不是cygwin的终端

** EDIT ** This works using the DOS prompt, but not the cygwin terminal

感谢你,让我知道如果你需要任何东西更多信息!

Thank you, and let me know if you need more info about anything!

推荐答案

在Windows上这一次流星只能是通过CMD的提示使用。甚至PowerShell的正常工作。也不混帐bash的(如果你想知道 - 我想,太)。

At this time meteor on Windows can ONLY be used via the "cmd" prompt. Not even PowerShell will work. Nor does git-bash (in case you were wondering -- I tried that too).

刚刚从CMD壳做你的所有流星的命令和你应该避免很多我觉得有点问题。

Just do all your meteor commands from a "cmd" shell and you should avoid lots of little issues I think.

一个好处 - 当你想建立/部署应用程序 - 漂亮的小工具demeteorizer并不在Cygwin /混帐bash的正常工作。 :)

One nice thing -- when you want to build/deploy your app -- the nice little tool "demeteorizer" DOES work fine on cygwin/git-bash. :)

这篇关于"流星蒙戈"与&QUOT崩溃;错误:EINVAL,无效的参数"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆