{"action":"created","issue":{"url":"https://api.github.com/repos/tessel/t2-cli/issues/641","repository_url":"https://api.github.com/repos/tessel/t2-cli","labels_url":"https://api.github.com/repos/tessel/t2-cli/issues/641/labels{/name}","comments_url":"https://api.github.com/repos/tessel/t2-cli/issues/641/comments","events_url":"https://api.github.com/repos/tessel/t2-cli/issues/641/events","html_url":"https://github.com/tessel/t2-cli/issues/641","id":146925060,"number":641,"title":"t2 update fails with javascript error","user":{"login":"josser","id":103639,"avatar_url":"https://avatars.githubusercontent.com/u/103639?v=3","gravatar_id":"","url":"https://api.github.com/users/josser","html_url":"https://github.com/josser","followers_url":"https://api.github.com/users/josser/followers","following_url":"https://api.github.com/users/josser/following{/other_user}","gists_url":"https://api.github.com/users/josser/gists{/gist_id}","starred_url":"https://api.github.com/users/josser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josser/subscriptions","organizations_url":"https://api.github.com/users/josser/orgs","repos_url":"https://api.github.com/users/josser/repos","events_url":"https://api.github.com/users/josser/events{/privacy}","received_events_url":"https://api.github.com/users/josser/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-04-08T13:08:41Z","updated_at":"2016-04-08T16:25:59Z","closed_at":"2016-04-08T13:26:17Z","body":"Here is log: \r\n\r\n```\r\nt2 update\r\nINFO Looking for your Tessel...\r\nINFO Connected to josser-tessel.\r\nINFO New firmware version found...0.0.12\r\nINFO Updating josser-tessel to latest version (0.0.12)...\r\nINFO Beginning update download. This could take a couple minutes..\r\n/Users/josser/.nvm/versions/node/v4.4.2/lib/node_modules/t2-cli/node_modules/progress/lib/node-progress.js:131\r\n  complete = Array(completeLength + 1).join(this.chars.complete);\r\n             ^\r\n\r\nRangeError: Invalid array length\r\n    at ProgressBar.render (/Users/josser/.nvm/versions/node/v4.4.2/lib/node_modules/t2-cli/node_modules/progress/lib/node-progress.js:131:14)\r\n    at ProgressBar.tick (/Users/josser/.nvm/versions/node/v4.4.2/lib/node_modules/t2-cli/node_modules/progress/lib/node-progress.js:86:8)\r\n    at IncomingMessage.<anonymous> (/Users/josser/.nvm/versions/node/v4.4.2/lib/node_modules/t2-cli/lib/update-fetch.js:126:13)\r\n    at emitOne (events.js:82:20)\r\n    at IncomingMessage.emit (events.js:169:7)\r\n    at IncomingMessage.Readable.read (_stream_readable.js:368:10)\r\n    at flow (_stream_readable.js:751:26)\r\n    at resume_ (_stream_readable.js:731:3)\r\n    at nextTickCallbackWith2Args (node.js:442:9)\r\n    at process._tickCallback (node.js:356:17)\r\n```\r\n\r\nTried both on 4 and 5 node. "},"comment":{"url":"https://api.github.com/repos/tessel/t2-cli/issues/comments/207502033","html_url":"https://github.com/tessel/t2-cli/issues/641#issuecomment-207502033","issue_url":"https://api.github.com/repos/tessel/t2-cli/issues/641","id":207502033,"user":{"login":"johnnyman727","id":432909,"avatar_url":"https://avatars.githubusercontent.com/u/432909?v=3","gravatar_id":"","url":"https://api.github.com/users/johnnyman727","html_url":"https://github.com/johnnyman727","followers_url":"https://api.github.com/users/johnnyman727/followers","following_url":"https://api.github.com/users/johnnyman727/following{/other_user}","gists_url":"https://api.github.com/users/johnnyman727/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnyman727/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnyman727/subscriptions","organizations_url":"https://api.github.com/users/johnnyman727/orgs","repos_url":"https://api.github.com/users/johnnyman727/repos","events_url":"https://api.github.com/users/johnnyman727/events{/privacy}","received_events_url":"https://api.github.com/users/johnnyman727/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T16:25:58Z","updated_at":"2016-04-08T16:25:58Z","body":"I had the wrong filename in the tarball that I manually uploaded 😛 \r\n\r\nI should really get http://github.com/tessel/t2-release working."}}