{"action":"created","issue":{"url":"https://api.github.com/repos/bevry/progressbar/issues/4","repository_url":"https://api.github.com/repos/bevry/progressbar","labels_url":"https://api.github.com/repos/bevry/progressbar/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/bevry/progressbar/issues/4/comments","events_url":"https://api.github.com/repos/bevry/progressbar/issues/4/events","html_url":"https://github.com/bevry/progressbar/issues/4","id":152566417,"number":4,"title":"Range Error: Invalid array length","user":{"login":"SteveMcArthur","id":2044632,"avatar_url":"https://avatars.githubusercontent.com/u/2044632?v=3","gravatar_id":"","url":"https://api.github.com/users/SteveMcArthur","html_url":"https://github.com/SteveMcArthur","followers_url":"https://api.github.com/users/SteveMcArthur/followers","following_url":"https://api.github.com/users/SteveMcArthur/following{/other_user}","gists_url":"https://api.github.com/users/SteveMcArthur/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveMcArthur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveMcArthur/subscriptions","organizations_url":"https://api.github.com/users/SteveMcArthur/orgs","repos_url":"https://api.github.com/users/SteveMcArthur/repos","events_url":"https://api.github.com/users/SteveMcArthur/events{/privacy}","received_events_url":"https://api.github.com/users/SteveMcArthur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-02T14:36:21Z","updated_at":"2016-05-03T16:41:57Z","closed_at":null,"body":"The latest version of progressbar seems to have introduced an `Invalid array length` error. When running DocPad it falls over. However, downgrading progressbar to 1.0.3 seems to solve the problem\r\n\r\n```\r\ninfo: DocPad listening to http://127.0.0.1:9778/ on directory F:\\temp\\out\r\ninfo: LiveReload listening to new socket on channel /docpad-livereload\r\nPerforming generate tasks ➞  Reset our collections at 0/1 0% -------------------RangeError: Invalid array length\r\n  at ProgressBar.render (F:\\temp\\node_modules\\progress\\lib\\node-progress.js:131:14)\r\n  at ProgressBar.tick (F:\\temp\\node_modules\\progress\\lib\\node-progress.js:86:8)\r\n  at ProgressBar.<anonymous> (F:\\temp\\node_modules\\progressbar\\es2015\\index.js:87:26)\r\n  at emitOne (events.js:77:13)\r\n  at ProgressBar.emit (events.js:169:7)\r\n  at ProgressBar.setTick (F:\\temp\\node_modules\\progressbar\\es2015\\index.js:178:9)\r\n  at _Class.<anonymous> (F:\\temp\\node_modules\\docpad\\out\\lib\\docpad.js:1019:62)\r\n  at emitOne (events.js:77:13)\r\n  at _Class.emit (events.js:169:7)\r\n  at _Class.TaskGroup.addItem (F:\\temp\\node_modules\\taskgroup\\out\\lib\\taskgroup.js:762:12)\r\n  at _Class.TaskGroup.addTask (F:\\temp\\node_modules\\taskgroup\\out\\lib\\taskgroup.js:809:19)\r\n  at DocPad.generate (F:\\temp\\node_modules\\docpad\\out\\lib\\docpad.js:3286:7)\r\n  at Task.<anonymous> (F:\\temp\\node_modules\\bal-util\\out\\lib\\flow.js:42:21)\r\n  at ambi (F:\\temp\\node_modules\\ambi\\es5\\lib\\ambi.js:98:14)\r\n  at Domain.fireMethod (F:\\temp\\node_modules\\taskgroup\\out\\lib\\taskgroup.js:397:23)\r\n  at Domain.run (domain.js:228:14)\r\n  at Task.fire (F:\\temp\\node_modules\\taskgroup\\out\\lib\\taskgroup.js:435:27)\r\n  at Immediate._onImmediate (F:\\temp\\node_modules\\taskgroup\\out\\lib\\taskgroup.js:452:26)\r\n  at processImmediate [as _immediateCallback] (timers.js:383:17)\r\n```\r\n\r\nTested this on a newly downloaded skeleton and same problem. I'm running on windows 10. Tested on DocPad  6.74 to 6.78.1"},"comment":{"url":"https://api.github.com/repos/bevry/progressbar/issues/comments/216589455","html_url":"https://github.com/bevry/progressbar/issues/4#issuecomment-216589455","issue_url":"https://api.github.com/repos/bevry/progressbar/issues/4","id":216589455,"user":{"login":"balupton","id":61148,"avatar_url":"https://avatars.githubusercontent.com/u/61148?v=3","gravatar_id":"","url":"https://api.github.com/users/balupton","html_url":"https://github.com/balupton","followers_url":"https://api.github.com/users/balupton/followers","following_url":"https://api.github.com/users/balupton/following{/other_user}","gists_url":"https://api.github.com/users/balupton/gists{/gist_id}","starred_url":"https://api.github.com/users/balupton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balupton/subscriptions","organizations_url":"https://api.github.com/users/balupton/orgs","repos_url":"https://api.github.com/users/balupton/repos","events_url":"https://api.github.com/users/balupton/events{/privacy}","received_events_url":"https://api.github.com/users/balupton/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T16:41:57Z","updated_at":"2016-05-03T16:41:57Z","body":"Should be fixed in v1.1.1."}}