{"action":"created","issue":{"url":"https://api.github.com/repos/avajs/ava/issues/1354","repository_url":"https://api.github.com/repos/avajs/ava","labels_url":"https://api.github.com/repos/avajs/ava/issues/1354/labels{/name}","comments_url":"https://api.github.com/repos/avajs/ava/issues/1354/comments","events_url":"https://api.github.com/repos/avajs/ava/issues/1354/events","html_url":"https://github.com/avajs/ava/issues/1354","id":220711190,"number":1354,"title":"ava errors on Node <4.5.0 due to hullabaloo-config-manager","user":{"login":"exogen","id":53522,"avatar_url":"https://avatars1.githubusercontent.com/u/53522?v=3","gravatar_id":"","url":"https://api.github.com/users/exogen","html_url":"https://github.com/exogen","followers_url":"https://api.github.com/users/exogen/followers","following_url":"https://api.github.com/users/exogen/following{/other_user}","gists_url":"https://api.github.com/users/exogen/gists{/gist_id}","starred_url":"https://api.github.com/users/exogen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exogen/subscriptions","organizations_url":"https://api.github.com/users/exogen/orgs","repos_url":"https://api.github.com/users/exogen/repos","events_url":"https://api.github.com/users/exogen/events{/privacy}","received_events_url":"https://api.github.com/users/exogen/received_events","type":"User","site_admin":false},"labels":[{"id":149100656,"url":"https://api.github.com/repos/avajs/ava/labels/bug","name":"bug","color":"fc2929","default":true},{"id":149100659,"url":"https://api.github.com/repos/avajs/ava/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-04-10T17:12:57Z","updated_at":"2017-05-24T16:32:27Z","closed_at":null,"body":"## Description\r\n\r\nRunning `ava` errors immediately on Node 4.4 and lower with `TypeError: this is not a typed array` from `hullabaloo-config-manager`. That module's `package.json` specifies its minimum Node version as 4.5 and they ain't kiddin' – this affects basic usage of AVA.\r\n\r\n(Unfortunately `npm` doesn't seem to warn about `engines` for transitive dependencies, so it doesn't even warn about `hullabaloo-config-manager`, but I believe it would warn about `ava` directly.)\r\n\r\nI recommend updating AVA's `engines` from Node `>=4` to `>=4.5`.\r\n\r\n### Test Source\r\n\r\n```js\r\n// Empty test is fine to reproduce.\r\n```\r\n\r\n### Error Message & Stack Trace\r\n\r\n```\r\n ⠋ /Users/becbrian/Projects/Tests/test-ava/node_modules/ava/lib/cli.js:196\r\n\t\t\t\t\tthrow err;\r\n\t\t\t\t\t^\r\n\r\nTypeError: this is not a typed array.\r\n    at Function.from (native)\r\n    at Verifier.toBuffer (/Users/becbrian/Projects/Tests/test-ava/node_modules/hullabaloo-config-manager/lib/Verifier.js:137:19)\r\n    at /Users/becbrian/Projects/Tests/test-ava/node_modules/ava/lib/babel-config.js:78:46\r\nFrom previous event:\r\n    at Api.run (/Users/becbrian/Projects/Tests/test-ava/node_modules/ava/api.js:71:5)\r\n    at Object.exports.run.api.on.api.run.then [as run] (/Users/becbrian/Projects/Tests/test-ava/node_modules/ava/lib/cli.js:187:7)\r\n    at Object.<anonymous> (/Users/becbrian/Projects/Tests/test-ava/node_modules/ava/cli.js:22:24)\r\n    at Module._compile (module.js:409:26)\r\n    at Object.Module._extensions..js (module.js:416:10)\r\n    at Module.load (module.js:343:32)\r\n    at Function.Module._load (module.js:300:12)\r\n    at Function.Module.runMain (module.js:441:10)\r\n    at startup (node.js:139:18)\r\n    at node.js:968:3\r\n```\r\n\r\n### Config\r\n\r\n(no config necessary)\r\n\r\n### Command-Line Arguments\r\n\r\n```\r\nava\r\n```\r\n\r\n## Relevant Links\r\n\r\n* [hullabaloo-config-manager](https://github.com/novemberborn/hullabaloo-config-manager)\r\n\r\n## Environment\r\n\r\n```\r\n$ node -e \"var os=require('os');console.log('Node.js ' + process.version + '\\n' + os.platform() + ' ' + os.release())\"\r\nNode.js v4.4.7\r\ndarwin 16.5.0\r\n$ ava --version\r\n0.19.1\r\n$ npm --version\r\n4.4.4\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/avajs/ava/issues/comments/303779225","html_url":"https://github.com/avajs/ava/issues/1354#issuecomment-303779225","issue_url":"https://api.github.com/repos/avajs/ava/issues/1354","id":303779225,"user":{"login":"novemberborn","id":33538,"avatar_url":"https://avatars3.githubusercontent.com/u/33538?v=3","gravatar_id":"","url":"https://api.github.com/users/novemberborn","html_url":"https://github.com/novemberborn","followers_url":"https://api.github.com/users/novemberborn/followers","following_url":"https://api.github.com/users/novemberborn/following{/other_user}","gists_url":"https://api.github.com/users/novemberborn/gists{/gist_id}","starred_url":"https://api.github.com/users/novemberborn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novemberborn/subscriptions","organizations_url":"https://api.github.com/users/novemberborn/orgs","repos_url":"https://api.github.com/users/novemberborn/repos","events_url":"https://api.github.com/users/novemberborn/events{/privacy}","received_events_url":"https://api.github.com/users/novemberborn/received_events","type":"User","site_admin":false},"created_at":"2017-05-24T16:32:27Z","updated_at":"2017-05-24T16:32:27Z","body":"LTS is only meaningful though if you actually update. There have been several security releases since 4.5."}}
{"actor":{"display_login":"novemberborn"}}