2017-03-04 62 views
0

我試圖用這個陣營基於日期範圍內選取器在我的播放2.5 /斯卡拉應用:SBT:無法爲日期範圍選擇器解析的依賴

https://github.com/onefinestay/react-daterange-picker

然而,依賴一個不能被發現:

[warn] :: org.webjars.npm#calendar;0.2.1: not found 
[warn] :: org.webjars.npm#calendar;[0.1.0,0.2): not found 
... 
[error] (common/*:update) sbt.ResolveException: unresolved dependency: org.webjars.npm#calendar;0.2.1: not found 
[error] unresolved dependency: org.webjars.npm#calendar;[0.1.0,0.2): not found 

webjars.org存儲庫中沒有「calendar」這樣的包。名稱改變了嗎?任何想法如何使這個datepicker構建成功?

回答

1

我發現react-datepickerreact-bootstrap-daterangepicker

libraryDependencies += "org.webjars.npm" % "react-datepicker" % "0.12.0" 

libraryDependencies += "org.webjars.npm" % "react-bootstrap-daterangepicker" % "1.0.4" 
+0

感謝 - 這些線我沒有得到任何編譯錯誤,但我真的很喜歡的「onefinestay」版本的外觀和感覺..我還是堅持了這個錯誤 – srvy