Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on installing Meteor 0.9.0 packages #296

Closed
nerdmed opened this issue Aug 26, 2014 · 4 comments
Closed

Error on installing Meteor 0.9.0 packages #296

nerdmed opened this issue Aug 26, 2014 · 4 comments

Comments

@nerdmed
Copy link

nerdmed commented Aug 26, 2014

Hey Team,

as i am testing to change my packaging enviroment to the new packaging system i still need to have private repositorys for non-public packages that are shared across projects. I updated the package to fit the requirements Meteor has for new packages. But after adding them inside my smart.json and running:

mrt add package:name

it will download the package but then error me with:

/usr/local/lib/node_modules/meteorite/lib/command.js:57
        throw "Command exited: " + error;
                                 ^
Command exited: Error: Command failed: --using: unknown option.
Usage: meteor list

List the packages that you have explicitly added to your project.
This will not list transitive dependencies.

Would be great to have it afterwards auto added to the project by running meteor add package:name

@apendua
Copy link

apendua commented Aug 27, 2014

@nerdmed Can you check your mrt version. If it's < 0.9.0 then you need to update. Also make sure that your meteor is the latest one, so run meteor update.

@nerdmed
Copy link
Author

nerdmed commented Aug 27, 2014

Hey @apendua thanks for your response. For me the versions are:

mrt --version
>Meteorite version 0.9.0
>Meteor 0.9.0

I think this is correct. As i mentioned the error will produce if you try to install a package that is on a git repository via mrt and adding it into the smart.json

@tmeasday
Copy link
Member

Hey @nerdmed -- no you are right, this is a bug with Meteorite.

However, I would discourage you from using mrt add from now on. You can still add packages to smart.json (with a git URL, I assume this is what you are doing?), mrt install them, then meteor add them. Does that solve the problem?

@nerdmed
Copy link
Author

nerdmed commented Aug 28, 2014

Hey @tmeasday thanks for your reply! You are right i am adding the git URL in my smart.json because of private packages. Your solution works well. This broblem is hardly related to this post in the google meteor-core group would be great to hear from you.

@nerdmed nerdmed closed this as completed Aug 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants