Comments (9)
Thanks for reporting. Woah... jQuery 3.3.0 has erroneous dependencies:
https://github.com/jquery/jquery/blob/3.3.0/package.json#L26-L31
Also I discovered that in your error there is a semver string that is not getting converted correctly:
https://github.com/npm/npm-registry-client/blob/v7.4.6/package.json#L25
https://search.maven.org/#artifactdetails%7Corg.webjars.npm%7Cnpm-registry-client%7C7.4.6%7Cjar
As a temporary workaround you can try to force jquery to resolve to 3.3.1
instead of 3.3.0
.
Welcome to the world of JavaScript package fun. :)
from bootstrap.
Any update here? I cannot build my project at all :(
from bootstrap.
You'll need to override your dependency graph to use jquery 3.3.1
instead.
I am working on fixing the semver bug above but that alone won't fix your issue since the releases are immutable.
from bootstrap.
I've released an updated npm-registry-client
version 7.4.6-1
that has the correct version range.
from bootstrap.
Hi @jamesward I'm really sorry but I don't consider this fixed. I once again tried my build with magicsuggest dependnency and this is the result:
https://gist.github.com/ptahchiev/8331d84e242ce831bb081c7214ff5edc
15 minutes!! This build usually lasts 40 seconds.
As you can see this build downloads a ton of unneeded NPM webjars (I don't want them and they were not downloaded before, I don't understand why are they now downloaded as I have not changed anything in my pom.xml) and at the end if fails with:
No versions available for org.webjars.npm:spdx-exceptions:jar:[2.0.0,3) within specified range -> [Help 1]
from bootstrap.
@ptahchiev Did you override the jquery dependency and verify it is resolving to 3.3.1
?
from bootstrap.
@jamesward I did not override anything :( I just ran mvn clean compile
. It was working like this before so i figured out it should still work like this after your fix.
from bootstrap.
The fix was for a bad SemVer range conversion so not directly related to your issue but uncovered by it. Somewhere in your dep graph it is resolving to jquery 3.3.0
which pulls in the giant dependency tree. You can sleuth out why that resolution is happening and walk up the tree to try to figure out where to change things to change the resolution to 3.3.1
. Or you can just override the jquery dep.
from bootstrap.
BTW, many NPM packages use version ranges which makes it hard to uncover why the graph is resolving in the way it is. You can use a Maven plugin to explore this graph if you want to understand what is happening and why.
from bootstrap.
Related Issues (20)
- Please Release Version: XXX
- Please Release Version: 5.1.2 HOT 1
- Please Release Version: 5.1.2 HOT 1
- Please Release Version: 5.1.3 HOT 1
- webjars
- 1.0 HOT 1
- Please Release Version: XXX
- Please Release Version: 4.6.1 HOT 1
- 5.1.9 HOT 1
- Please Release Version: 4.61
- Please Release Version: 5.2.0
- Please Release Version: 4.6.2 HOT 1
- Please Release Version: 5.2.1 HOT 1
- Please Release Version: 5.2.2 HOT 1
- Please Release Version: 5.2.3 HOT 1
- Please Release Version: 5.3.0
- Please Release Version: 5.3.1 HOT 2
- Please Release Version: 5.3.2 HOT 1
- Please Release Version: XXX
- Please Release Version: 5.3.3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstrap.