Node.js 在MAC上添加捷运包裹问题
我需要使用第三方软件包将mrt软件包添加到meteor项目中。在此过程中,我安装了npm和meteorite,但在这次将软件包添加到meteor项目中会出现以下错误:Node.js 在MAC上添加捷运包裹问题,node.js,git,meteor,meteorite,Node.js,Git,Meteor,Meteorite,我需要使用第三方软件包将mrt软件包添加到meteor项目中。在此过程中,我安装了npm和meteorite,但在这次将软件包添加到meteor项目中会出现以下错误: mrt add router 错误: ✓ router tag: https://github.com/tmeasday/meteor-router.git#v0.6.1 ERROR: 128 Command failed: fatal: Not a git repository (or any of the pare
mrt add router
错误:
✓ router
tag: https://github.com/tmeasday/meteor-router.git#v0.6.1
ERROR: 128 Command failed: fatal: Not a git repository (or any of the parent directories): .git
STDOUT:
STDERR: fatal: Not a git repository (or any of the parent directories): .git
/usr/local/lib/node_modules/meteorite/lib/sources/git.js:181
self.checkoutType + ": " + (self.commit || self.head);
^
There was a problem checking out tag: v0.6.1
我是Meteor的新手。所以我不知道这个错误。请建议我怎么做?路由器是一个不推荐使用的软件包
改用铁制路由器:
请参阅其基本文档
mrt add iron-router