windows 8.1 上的 Meteorite with vagrant(无法安装包)
Meteorite on windows 8.1 with vagrant ( cannot install packages )
我是 Linux 的新手(甚至不知道基本命令)我正在使用 https://gist.github.com/gabrieljenik/d926cbb90706d95abdee 在我的 windows 8.1 机器上设置 vagrant。我已经创建了我的测试应用程序,需要安装 iron router 等软件包
当我尝试执行
sudo npm install -g meteorite
它抛出 错误:未找到 sudo 命令
mrt add iron-router
它抛出 error mrt: command not found
无法弄清楚问题所在
如果您是 Linux 和 Meteor 的新手,请不要使用像 Vagrant 这样复杂的东西。只需在 Windows 上使用 Meteor 和 WebStorm。开箱即用。
注意:meteorite
早已弃用。从官方的 Meteor 教程开始,http://meteor.com/try.
- 安装Meteor for Windows
- 安装并启动WebStorm
- 创建一个新项目,选择类型Meteor.js app,然后"default"。
- 运行 -> 运行 -> 编辑配置
- 单击
+
添加 Meteor 类型的新配置
- 为清楚起见,将其称为
simple-todos
(这是可选的)
- 点击运行
注意 Webstorm 如何在 IDE 中启动控制台,它显示了熟悉的 Meteor 启动顺序:
=> Started proxy.
=> Started MongoDB.
=> Started your app.
=> App running at: http://localhost:3000/
如果系统提示您提供任何防火墙权限,请确保允许来自 Node.js 的所有流量。
现在您可以在 Windows 上的 WebStorm 中编辑您的应用程序。欢迎来到 Meteor!
我是 Linux 的新手(甚至不知道基本命令)我正在使用 https://gist.github.com/gabrieljenik/d926cbb90706d95abdee 在我的 windows 8.1 机器上设置 vagrant。我已经创建了我的测试应用程序,需要安装 iron router 等软件包
当我尝试执行
sudo npm install -g meteorite
它抛出 错误:未找到 sudo 命令
mrt add iron-router
它抛出 error mrt: command not found
无法弄清楚问题所在
如果您是 Linux 和 Meteor 的新手,请不要使用像 Vagrant 这样复杂的东西。只需在 Windows 上使用 Meteor 和 WebStorm。开箱即用。
注意:meteorite
早已弃用。从官方的 Meteor 教程开始,http://meteor.com/try.
- 安装Meteor for Windows
- 安装并启动WebStorm
- 创建一个新项目,选择类型Meteor.js app,然后"default"。
- 运行 -> 运行 -> 编辑配置
- 单击
+
添加 Meteor 类型的新配置 - 为清楚起见,将其称为
simple-todos
(这是可选的) - 点击运行
注意 Webstorm 如何在 IDE 中启动控制台,它显示了熟悉的 Meteor 启动顺序:
=> Started proxy.
=> Started MongoDB.
=> Started your app.
=> App running at: http://localhost:3000/
如果系统提示您提供任何防火墙权限,请确保允许来自 Node.js 的所有流量。
现在您可以在 Windows 上的 WebStorm 中编辑您的应用程序。欢迎来到 Meteor!