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

Bump up npm dependency #25

Open
pocorall opened this issue Jun 4, 2021 · 0 comments
Open

Bump up npm dependency #25

pocorall opened this issue Jun 4, 2021 · 0 comments

Comments

@pocorall
Copy link

pocorall commented Jun 4, 2021

The npm dependency currently using this project is 5.0.0-2, which is old, and is not able to work with recent version of node.

I personally tried to change its version number in build.sbt to "org.webjars.npm" % "npm" % "6.14.5", but it fails to download some transitive dependencies. I attached the error message below. Most of the transitive dependencies are existing in maven central. I guess something goes wrong with open ended version range [0,) from the pom of the npm: https://search.maven.org/artifact/org.webjars.npm/npm/6.14.5/jar

But I don't have enough expertise to tackle this problem.

sbt.ResolveException: unresolved dependency: org.webjars.npm#lodash._baseindexof;0: not found
unresolved dependency: org.webjars.npm#lodash._cacheindexof;0: not found
unresolved dependency: org.webjars.npm#lodash.restparam;0: not found
unresolved dependency: org.webjars.npm#lodash._getnative;0: not found
unresolved dependency: org.webjars.npm#debuglog;0: not found
unresolved dependency: org.webjars.npm#lodash._createcache;0: not found
unresolved dependency: org.webjars.npm#imurmurhash;0: not found
unresolved dependency: org.webjars.npm#lodash._bindcallback;0: not found
unresolved dependency: org.webjars.npm#aproba;[1.1.2,2),[2,3): not found
        at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:320)
        at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:191)
        at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:168)
        at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:156)
        at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:156)
        at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:133)
        at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:57)
        at sbt.IvySbt$$anon$4.call(Ivy.scala:65)
        at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:95)
        at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:80)
        at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:99)
        at xsbt.boot.Using$.withResource(Using.scala:10)
        at xsbt.boot.Using$.apply(Using.scala:9)
        at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:60)
        at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:50)
        at xsbt.boot.Locks$.apply0(Locks.scala:31)
        at xsbt.boot.Locks$.apply(Locks.scala:28)
        at sbt.IvySbt.withDefaultLogger(Ivy.scala:65)
        at sbt.IvySbt.withIvy(Ivy.scala:128)
        at sbt.IvySbt.withIvy(Ivy.scala:125)
        at sbt.IvySbt$Module.withModule(Ivy.scala:156)
        at sbt.IvyActions$.updateEither(IvyActions.scala:168)
        at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1555)
        at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1551)
        at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$122.apply(Defaults.scala:1586)
        at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$122.apply(Defaults.scala:1584)
        at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:37)
        at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1589)
        at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1583)
        at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:60)
        at sbt.Classpaths$.cachedUpdate(Defaults.scala:1606)
        at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1533)
        at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1485)
        at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
        at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
        at sbt.std.Transform$$anon$4.work(System.scala:63)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
        at sbt.Execute.work(Execute.scala:237)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
        at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
        at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)
[error] (root/*:update) sbt.ResolveException: unresolved dependency: org.webjars.npm#lodash._baseindexof;0: not found
[error] unresolved dependency: org.webjars.npm#lodash._cacheindexof;0: not found
[error] unresolved dependency: org.webjars.npm#lodash.restparam;0: not found
[error] unresolved dependency: org.webjars.npm#lodash._getnative;0: not found
[error] unresolved dependency: org.webjars.npm#debuglog;0: not found
[error] unresolved dependency: org.webjars.npm#lodash._createcache;0: not found
[error] unresolved dependency: org.webjars.npm#imurmurhash;0: not found
[error] unresolved dependency: org.webjars.npm#lodash._bindcallback;0: not found
[error] unresolved dependency: org.webjars.npm#aproba;[1.1.2,2),[2,3): not found
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

1 participant