Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/meteor/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
windows 8.1上带有vagrant的Meteorite(无法安装软件包)_Meteor_Vagrant_Meteorite - Fatal编程技术网

windows 8.1上带有vagrant的Meteorite(无法安装软件包)

windows 8.1上带有vagrant的Meteorite(无法安装软件包),meteor,vagrant,meteorite,Meteor,Vagrant,Meteorite,我对Linux非常陌生(甚至不知道基本的命令),我用它在我的Windows8.1机器上安装vagrant。我已经创建了我的测试应用程序,需要安装诸如iron router等软件包 当我试图执行 sudo npm install -g meteorite 它抛出错误:找不到sudo命令 mrt add iron-router 它抛出错误mrt:未找到命令 mrt add iron-router 无法找出问题所在如果您对Linux和Meteor非常陌生,请不要使用像Vagrant这样复杂的东西

我对Linux非常陌生(甚至不知道基本的命令),我用它在我的Windows8.1机器上安装vagrant。我已经创建了我的测试应用程序,需要安装诸如iron router等软件包

当我试图执行

sudo npm install -g meteorite
它抛出错误:找不到sudo命令

mrt add iron-router
它抛出错误mrt:未找到命令

mrt add iron-router

无法找出问题所在

如果您对Linux和Meteor非常陌生,请不要使用像Vagrant这样复杂的东西。只需在Windows上使用Meteor和WebStorm即可。它是开箱即用的

注:
陨石
早就被弃用了。从官方流星教程开始

  • 安装
  • 安装并启动
  • 创建一个新项目,选择Meteor.js应用程序类型,然后选择“默认”
  • 运行->运行->编辑配置
  • 单击
    +
    添加Meteor类型的新配置
  • 为清晰起见,将其称为
    simple todos
    (这是可选的)
  • 单击运行
  • 请注意Webstorm如何在IDE中启动控制台,其中显示了熟悉的Meteor启动序列:

    => Started proxy.
    => Started MongoDB.
    => Started your app.
    
    => App running at: http://localhost:3000/
    
    如果系统提示您输入任何防火墙权限,请确保允许Node.js的所有流量


    现在,您可以在Windows上的WebStorm中编辑应用程序。欢迎来到流星

    非常感谢丹给出如此详细的回答。实际上,我能够在windows上创建一些测试应用程序,并了解meteor的详细信息。现在,我想开发一个成熟的应用程序,但有一种印象是windwos上不支持一些东西,比如iron router等。因此,我不确定是否应该继续在windows上或设置linux环境。请让我知道是否可以在windows上移动,因为这将使我的生活更加轻松,如果不行,我将不得不进入流浪者。几乎所有东西都在windows上工作。唯一的问题是更新应用程序的时间比在Linux上要长,但目前Slava和Sashko正在解决这一问题。所以我想说,继续使用Windows并在上阅读更多内容。我试图在Windows上添加iron路由器,但失败了。如何在windows上向meteor应用程序添加路由?此命令在windows meteor add iron:router上失败。详情如下