meteor-win icon indicating copy to clipboard operation
meteor-win copied to clipboard

Manually installing packages

Open romanrdgz opened this issue 10 years ago • 1 comments

I am using current stable version of Meteor for Windows, and I'm trying to installa a package manually (since my enterprise proxy is holding me back).

So:

meteor create helloworld cd helloworld md packages cd packages git clone https://github.com/twbs/bootstrap.git cd .. meteor add bootstrap

Result: Unable to update package catalog (are you offline?)

=> Errors while parsing arguments:

While adding package bootstrap: error: no such package

Your package catalog may be out of date. Please connect to the internet and try again

Any idea?

romanrdgz avatar Feb 12 '15 12:02 romanrdgz

Hmm, this isn't great - it is quite reasonable to add a local package even if the catalog is offline/inaccessible. But just to be clear, the bootstrap repository you've cloned is not a meteor package so won't be recognised by meteor.

Probably the best place to look for meteor packages is: https://atmospherejs.com/ As it happens the twbs github doesn't appear to support meteor, but the following fork does seem to: https://github.com/MeteorPackaging/bootstrap/tree/meteor-integration-v2

Key difference is the package.js. Also note that the package name in : https://github.com/MeteorPackaging/bootstrap/blob/meteor-integration-v2/package.js is "twbs:bootstrap" so you would need to use meteor add twbs:bootstrap

sdarnell avatar Feb 15 '15 20:02 sdarnell