当前位置: 动力学知识库 > 问答 > 编程问答 >

meteor - Can't install Iron-Router

问题描述:

i get this when i type mrt add iron-router in my meteor app

this is on a mac

smart.json changed.. installing from smart.json

smart.json changed.. installing from smart.json

✓ iron-router

tag: https://github.com/EventedMind/iron-router.git#v0.5.4

/usr/local/lib/node_modules/meteorite/lib/sources/git.js:108

throw "There was a problem cloning repo: " + self.url;

^

There was a problem cloning repo: https://github.com/EventedMind/iron-router.git

what can i do to install iron-router ?

网友答案:

try

mrt uninstall --system

Then reinstall iron-router again.

If it still happen maybe the author forget to push tag. ( if newer version released)

If u want to use it right now. Clone it into your packages folder

网友答案:

Try:

meteor add iron-router

This is the newer way to install Meteor packages.

Note: Also make sure you run this command in the root directory of your Meteor project.

分享给朋友:
您可能感兴趣的文章:
随机阅读: