chenglou / react-chosen

React wrapper for Chosen jQuery.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chosen Dependency issue

chriskozlowski opened this issue · comments

It seems that there is no release that satisfies ~1.1.0 anymore in the bower-friendly chosen repo

just for reference. Console output looks like this:

bower install react-chosen --save
bower react-chosen#*        not-cached git://github.com/chenglou/react-chosen.git#*
bower react-chosen#*           resolve git://github.com/chenglou/react-chosen.git#*
bower react-chosen#*          download https://github.com/chenglou/react-chosen/archive/v0.3.7.tar.gz
bower react-chosen#*           extract archive.tar.gz
bower react-chosen#*          resolved git://github.com/chenglou/react-chosen.git#0.3.7
bower react#~0.12.1         not-cached git://github.com/facebook/react-bower.git#~0.12.1
bower react#~0.12.1            resolve git://github.com/facebook/react-bower.git#~0.12.1
bower chosen#~1.1.0         not-cached git://github.com/harvesthq/bower-chosen.git#~1.1.0
bower chosen#~1.1.0            resolve git://github.com/harvesthq/bower-chosen.git#~1.1.0
bower react#~0.12.1           download https://github.com/facebook/react-bower/archive/v0.12.2.tar.gz
bower react#~0.12.1            extract archive.tar.gz
bower react#~0.12.1           resolved git://github.com/facebook/react-bower.git#0.12.2
bower chosen#~1.1.0       ENORESTARGET No tag found that was able to satisfy ~1.1.0

Additional error details:
Available versions: 1.4.2, 1.4.1

Possible workaround in this case is to install the package with a command:
bower install git@github.com:chenglou/react-chosen.git#master

Same issue here, your bower.json is incorrect on the latest tagged version. Can you push a new tag please?

+1 does anyone forked this repo to fix it?

@nicolasiensen I provided a workaround. Doesn't it work for you?

@kharandziuk it seems that bower doesn't accept git@github.com:chenglou/react-chosen.git#master as parameter.

I ended up doing bower install https://raw.githubusercontent.com/chenglou/react-chosen/master/react-chosen.js

strange, it works for me

$> bower install git@github.com:chenglou/react-chosen.git#master
bower react-chosen#master   not-cached git@github.com:chenglou/react-chosen.git#master
bower react-chosen#master      resolve git@github.com:chenglou/react-chosen.git#master

Ok, I'm using iTerm and for some reason I had to double quote the Github path:

bower install "git@github.com:chenglou/react-chosen.git#master"

It's working now thanks!

Can we get a version bump for this? Just to fix the bower issue.

Just bumping the version? Done. Tell me if it doesn't work

Lookin' good, thanks!