Skip to content
This repository has been archived by the owner on Oct 11, 2021. It is now read-only.

A Bower package that fails to install #66

Closed
ndarilek opened this issue Feb 24, 2015 · 2 comments
Closed

A Bower package that fails to install #66

ndarilek opened this issue Feb 24, 2015 · 2 comments

Comments

@ndarilek
Copy link

Noticed that the bootstrapaccessibilityplugin Bower package's assets fail to integrate into some of my Meteor projects. It successfully downloads and installs in .meteor/local/bower, but its JS assets don't appear in my template. Oddly enough, it seems to install fine in one project, but I've duplicated this behavior on a blank, test project.

meteor create test
cd test
meteor add mquandalle:bower

Place this bower.json in the directory, then run "meteor":

{
"name": "app",
"version": "0.0.0",
"authors": [
"Nolan Darilek nolan@thewordnerd.info"
],
"private": true,
"ignore": [
"*/.",
"node_modules",
"bower_components",
"www/vendor",
"test",
"tests"
],
"dependencies": {
"bootstrap": "~3.3.2",
"bootstrapaccessibilityplugin": "~1.0.4"
}
}

I see the bootstrap.js file, but not the bootstrapaccessibilityplugin.js file referenced in the document source. This is despite the fact that the package appears to download and install correctly. I think I also saw this behavior with momentjs but am not certain.

Thanks.

@lorensr
Copy link
Collaborator

lorensr commented Feb 24, 2015

Hi, thanks for the bug report. I figured out what's wrong – bootstrapaccessibilityplugin's bower.json's name is bootstrap-accessibility-plugin. Maybe submit a PR/issue to them saying it should match the package name? In the meantime you can edit .meteor/local/bower/bootstrapaccessibilityplugin/.bower.json (note the . before bower.json) and set

"name": "bootstrapaccessibilityplugin"

If that doesn't work for you, please reopen.

@ndarilek
Copy link
Author

Excellent, thanks for the quick response!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants