question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Question] Why is jQuery downloaded as a dependency?

See original GitHub issue

Looking at the result of npm install bootstrap-vue, there is apparently a jQuery dependency downloaded as well.

bilde

The docs, however, state that bootstrap-vue do not require this library.

bilde

There is some illogic going on here. Either the docs or the library itself is wrong upon its dependencies. So which one is it?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:11 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
ghenrycommented, Jan 23, 2018

Phew!!! I was about to go mental AND START SHOUTING 😃

0reactions
pi0commented, Jan 23, 2018

@ghenry No no we don’t 😃) This is just because of BS bad packaging which explicitly requires jquery as a peer dep! I will add some notes to the documentation to clarify this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

bower: jquery is declared as dependency but somehow missing
There are 2 steps in obtaining libraries with bower: Downloading them. First off check whether jQuery is present in bower_components .
Read more >
jQuery and Maven
In order for jQuery to be used easily as a dependency a jQuery "artifact" needs to be available in a public Maven repository,...
Read more >
jQuery dependency on a custom theme is not adding jQuery?
Solved The problem was in my .theme file where it was unsetting the core jQuery library. The problem code:
Read more >
Is there any way to check either jquery, jquery.ui and ...
Is there any way to check either jquery, jquery.ui and dependent plugins load or still in downloading ? I mean jquery plugin must...
Read more >
Top 40+ jQuery Interview Questions and Answers (2023)
jQuery does not have any dependencies on other libraries or frameworks. ... You can download a PDF version of Jquery Interview Questions.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found