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

jQuery dependency unfulfilled via jspm #16233

Closed
MicahZoltu opened this issue Apr 4, 2015 · 2 comments
Closed

jQuery dependency unfulfilled via jspm #16233

MicahZoltu opened this issue Apr 4, 2015 · 2 comments
Labels

Comments

@MicahZoltu
Copy link

TL;DR:
Using JSPM to install bootstrap will not correctly bring in the jquery dependency.

Long:
I am using JSPM to do package management in a project. I install bootstrap via JSPM using jspm install bootstrap. This adds "bootstrap": "github:twbs/bootstrap@^3.3.4", to my package.json in the jspm section and "bootstrap": "github:twbs/[email protected]", to my config.js in the map.

Then in my .js file I do import bootstrap from 'bootstrap'. At runtime, I receive an error complaining about being unable to load jquery.

I am pretty new to jspm and JavaScript development in general, but it seems like this package is just missing a jquery dependency. With that, I believe JSPM will do the right thing and bring in jquery if I don't already have it.

@cvrebert cvrebert added the meta label Apr 4, 2015
@cvrebert cvrebert changed the title JQuery Dependency Unfulfilled. jQuery dependency unfulfilled via jspm Apr 4, 2015
@MicahZoltu
Copy link
Author

This problem appears to have been introduced in 3.3.4. If I install 3.3.2 with JSPM everything works. Also of note, even after I got past the jQuery problem in 3.3.4 (manually installing it via JSPM), my project didn't work as expected. I would have expected full backwards compatibility with 3.3.2 (not a major version update). I did not continue investigating, so I am uncertain what exactly the problem was.

@cvrebert
Copy link
Collaborator

cvrebert commented Apr 4, 2015

Approximate duplicate of #16101.

@cvrebert cvrebert closed this as completed Apr 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants