Closed techniq closed 10 years ago
would you like to contribute a bower-stompjs project?
I've not made a bower package before but could look into it. How would this work since ithe project has already been registered in the bower repository:
http://bower.io/search/#!/search/stomp http://bower.io/#registering-packages
Any progress on this issue? Should I try to have a go at this?
Do you have still use to install it.
I just tried and it seems working fine:
$ bower install stomp-websocket
bower stomp-websocket#* not-cached git://github.com/jmesnil/stomp-websocket.git#*
bower stomp-websocket#* resolve git://github.com/jmesnil/stomp-websocket.git#*
bower stomp-websocket#* download https://github.com/jmesnil/stomp-websocket/archive/2.3.1.tar.gz
bower stomp-websocket#* extract archive.tar.gz
bower stomp-websocket#* resolved git://github.com/jmesnil/stomp-websocket.git#2.3.1
bower stomp-websocket#~2.3.1 install stomp-websocket#2.3.1
I installed version 2.3.0. I will try 2.3.1 and report back...
I worked around the grunt-bower-install
issue myself by adding an override to my project's bower.json:
{
...
"overrides": {
"stomp-websocket": {
"main": "lib/stomp.js"
}
}
bower install stomp-websocket#2.3.1 --save
still doesn't generate bower.js in stomp-websocket directory under bower_components. Running "grunt serve" still produces
stomp-websocket was not injected in your file.
warning.
I will try Sean's workaround.
When using the grunt-bower-install task to automatically inject Bower components into our app, we're receiving the following error:
I believe the is due the stomp-websocket repo does not including a
bower.json
file with amain
attribute. Here's an example - https://github.com/angular/bower-angular/blob/master/bower.json