Reputation: 32094
I forked a meteor package on github at https://github.com/kfirufk/angular2-meteor-accounts-ui
now I want to install it on a meteor project that I have. there are tons of information on the net, some recommend using meteorite, others recommend using mgp... but all the information that i find is for very old version of meteor and nothing actually works!
any information regarding the issue would be greatly appreciated.
I created packages
directory inside the root directory and cloned the github package to that directory.
I edited .meteor/packages
file and added angular2-meteor-accounts-ui
.
now when i run the meteor application i get the following error:
While selecting package versions:
error: unknown package in top-level dependencies:
angular2-meteor-accounts-ui
angular2-meteor-accounts-ui
is the name of the package of the github project i cloned (in package.json).
Upvotes: 2
Views: 225
Reputation: 393
If I understand the question correctly, this is the procedure I've done myself, and it works:
Note: if you want the package to be part of your project code, just remove .git inside the package clone, and add the whole folder to your app repo.
Upvotes: 2