{"action":"created","issue":{"url":"https://api.github.com/repos/bower/bower/issues/1643","repository_url":"https://api.github.com/repos/bower/bower","labels_url":"https://api.github.com/repos/bower/bower/issues/1643/labels{/name}","comments_url":"https://api.github.com/repos/bower/bower/issues/1643/comments","events_url":"https://api.github.com/repos/bower/bower/issues/1643/events","html_url":"https://github.com/bower/bower/issues/1643","id":53351164,"number":1643,"title":"Bower install doesn't change bower.json","user":{"login":"KevinBurton","id":2643566,"avatar_url":"https://avatars.githubusercontent.com/u/2643566?v=3","gravatar_id":"","url":"https://api.github.com/users/KevinBurton","html_url":"https://github.com/KevinBurton","followers_url":"https://api.github.com/users/KevinBurton/followers","following_url":"https://api.github.com/users/KevinBurton/following{/other_user}","gists_url":"https://api.github.com/users/KevinBurton/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinBurton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinBurton/subscriptions","organizations_url":"https://api.github.com/users/KevinBurton/orgs","repos_url":"https://api.github.com/users/KevinBurton/repos","events_url":"https://api.github.com/users/KevinBurton/events{/privacy}","received_events_url":"https://api.github.com/users/KevinBurton/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bower/bower/labels/requires%20feedback","name":"requires feedback","color":"bfdadc"},{"url":"https://api.github.com/repos/bower/bower/labels/windows","name":"windows","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":37,"created_at":"2015-01-04T22:29:40Z","updated_at":"2016-06-26T10:08:24Z","closed_at":null,"body":"I am on Windows (windows 7) and I execute the following 'bower install jquery --save' and I get the following output:\r\n\r\n>bower install jquery --save\r\nbower resolve       git://github.com/jquery/jquery.git#*\r\nbower download      https://github.com/jquery/jquery/archive/2.1.3.tar.gz\r\nbower extract       jquery#* archive.tar.gz\r\n\r\nThere are two problems (that are probably manifestations of the same problem)\r\n\r\n1) Notice that in the output from bower this is no 'install' step.\r\n2) bower.json does not get updated with the new dependences.\r\n\r\nIdeas?"},"comment":{"url":"https://api.github.com/repos/bower/bower/issues/comments/228593743","html_url":"https://github.com/bower/bower/issues/1643#issuecomment-228593743","issue_url":"https://api.github.com/repos/bower/bower/issues/1643","id":228593743,"user":{"login":"simon-nguyen","id":12954249,"avatar_url":"https://avatars.githubusercontent.com/u/12954249?v=3","gravatar_id":"","url":"https://api.github.com/users/simon-nguyen","html_url":"https://github.com/simon-nguyen","followers_url":"https://api.github.com/users/simon-nguyen/followers","following_url":"https://api.github.com/users/simon-nguyen/following{/other_user}","gists_url":"https://api.github.com/users/simon-nguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/simon-nguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simon-nguyen/subscriptions","organizations_url":"https://api.github.com/users/simon-nguyen/orgs","repos_url":"https://api.github.com/users/simon-nguyen/repos","events_url":"https://api.github.com/users/simon-nguyen/events{/privacy}","received_events_url":"https://api.github.com/users/simon-nguyen/received_events","type":"User","site_admin":false},"created_at":"2016-06-26T10:08:24Z","updated_at":"2016-06-26T10:08:24Z","body":"I want to share my experience with the same \"bower install **--save** doesn't update bower.json\"\r\n\r\nI'm using a laptop running Windows 10 x64. I have the lastest bower install globally. My project was generated using yo generator so there's already bower.json and .bowerrc files. At that time I was trying to update all my angular packages because the generated project used \"not up-to-date\" angular packages, for example angular 1.5.0 (current is 1.5.7)\r\n\r\nI ran \"bower update --save\" to update all my packages (in CMD tool). The update process showed up and said that all the packages was installed successfully. But my bower.json didn't change at all. The file still contained the 1.5.0 version not 1.5.7\r\n\r\nI searched and came to this issue post. And noticed one important thing I opened my bower.json file in Visual Studio Code and I could really be sure that the this editor doesn't check for file content changed outside the program.\r\n\r\n- backup my current bower.json\r\n- deleted the current bower.json\r\n- ran \"bower init\"\r\n- answered, chose options while bower.json file was being initialized\r\n- didn't know how bower know and added all the angular 1.5.0 (from previous session) into the brand new initialized bower.json\r\n- ran bower install angular angular-animate... --save (haven't tested with bower update --save yet) and after everything succeeded installed. I select the notepad++ window and the program notified me the change was made. I click Yes to reload the bower.json file content. And every thing (angular packages) was set to the 1.5.7\r\n\r\nHope this help someone."}}
{"actor":{"display_login":"simon-nguyen"}}