{"action":"created","issue":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/1659","repository_url":"https://api.github.com/repos/gatsbyjs/gatsby","labels_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/1659/labels{/name}","comments_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/1659/comments","events_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/1659/events","html_url":"https://github.com/gatsbyjs/gatsby/issues/1659","id":246537836,"number":1659,"title":"TypeError: Data must be a string or a buffer","user":{"login":"cstrangedk","id":12778980,"avatar_url":"https://avatars1.githubusercontent.com/u/12778980?v=4","gravatar_id":"","url":"https://api.github.com/users/cstrangedk","html_url":"https://github.com/cstrangedk","followers_url":"https://api.github.com/users/cstrangedk/followers","following_url":"https://api.github.com/users/cstrangedk/following{/other_user}","gists_url":"https://api.github.com/users/cstrangedk/gists{/gist_id}","starred_url":"https://api.github.com/users/cstrangedk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cstrangedk/subscriptions","organizations_url":"https://api.github.com/users/cstrangedk/orgs","repos_url":"https://api.github.com/users/cstrangedk/repos","events_url":"https://api.github.com/users/cstrangedk/events{/privacy}","received_events_url":"https://api.github.com/users/cstrangedk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-07-29T18:35:35Z","updated_at":"2017-08-09T02:29:02Z","closed_at":null,"body":"- Gatsby v1.0.0\r\n- Node v7.5.0\r\n- MacOS v10.12.5\r\n\r\nI produce the following error after a `gatsby build`:\r\n\r\n```\r\ncrypto.js:74\r\n  this._handle.update(data, encoding);\r\n               ^\r\n\r\nTypeError: Data must be a string or a buffer\r\n    at Hash.update (crypto.js:74:16)\r\n    at ~/Projects/victor/ubby-desktop/node_modules/gatsby/dist/utils/get-hash-fn.js:22:10\r\n    at ~/Projects/victor/ubby-desktop/node_modules/gatsby/dist/utils/hashed-chunk-ids-plugin.js:20:22\r\n    at Array.forEach (native)\r\n    at Compilation.<anonymous> (~/Projects/victor/ubby-desktop/node_modules/gatsby/dist/utils/hashed-chunk-ids-plugin.js:18:14)\r\n    at Compilation.applyPlugins (~/Projects/victor/ubby-desktop/node_modules/tapable/lib/Tapable.js:26:37)\r\n    at Compilation.<anonymous> (~/Projects/victor/ubby-desktop/node_modules/webpack/lib/Compilation.js:545:8)\r\n    at Compilation.applyPluginsAsync (~/Projects/victor/ubby-desktop/node_modules/tapable/lib/Tapable.js:60:69)\r\n    at Compilation.seal (~/Projects/victor/ubby-desktop/node_modules/webpack/lib/Compilation.js:525:7)\r\n    at Compiler.<anonymous> (~/Projects/victor/ubby-desktop/node_modules/webpack/lib/Compiler.js:397:15)\r\n    at ~/Projects/victor/ubby-desktop/node_modules/tapable/lib/Tapable.js:103:11\r\n    at Compilation.<anonymous> (~/Projects/victor/ubby-desktop/node_modules/webpack/lib/Compilation.js:445:10)\r\n    at ~/Projects/victor/ubby-desktop/node_modules/webpack/lib/Compilation.js:417:12\r\n    at ~/Projects/victor/ubby-desktop/node_modules/webpack/lib/Compilation.js:332:10\r\n    at ~/Projects/victor/ubby-desktop/node_modules/webpack/node_modules/async/lib/async.js:52:16\r\n    at done (~/Projects/victor/ubby-desktop/node_modules/webpack/node_modules/async/lib/async.js:246:17)\r\n    at ~/Projects/victor/ubby-desktop/node_modules/webpack/node_modules/async/lib/async.js:44:16\r\n    at _combinedTickCallback (internal/process/next_tick.js:67:7)\r\n    at process._tickCallback (internal/process/next_tick.js:98:9)\r\n```\r\n\r\nMy package.json is: \r\n```\r\n{\r\n  \"name\": \"gatsby-starter-default\",\r\n  \"description\": \"Gatsby default starter\",\r\n  \"version\": \"1.0.0\",\r\n  \"author\": \"Kyle Mathews <mathews.kyle@gmail.com>\",\r\n  \"dependencies\": {\r\n    \"fs\": \"0.0.1-security\",\r\n    \"gatsby\": \"^1.4.1\",\r\n    \"gatsby-link\": \"^1.4.1\",\r\n    \"gatsby-plugin-sharp\": \"^1.0.0-beta.7\",\r\n    \"gatsby-remark-copy-linked-files\": \"^1.0.0-beta.6\",\r\n    \"gatsby-remark-images\": \"^1.5.0\",\r\n    \"gatsby-remark-prismjs\": \"^1.0.0-beta.6\",\r\n    \"gatsby-remark-responsive-iframe\": \"^1.0.0-beta.6\",\r\n    \"gatsby-remark-smartypants\": \"^1.0.0-beta.6\",\r\n    \"gatsby-source-filesystem\": \"^1.0.0-beta.6\",\r\n    \"gatsby-transformer-remark\": \"^1.0.0-beta.6\",\r\n    \"lodash\": \"^4.17.4\",\r\n    \"object-assign\": \"^4.1.1\",\r\n    \"react-helmet\": \"^5.0.3\",\r\n    \"react-materialize\": \"^1.0.1\",\r\n    \"react-typography\": \"^0.15.0\",\r\n    \"typography\": \"^0.15.8\",\r\n    \"typography-breakpoint-constants\": \"^0.14.0\",\r\n    \"typography-plugin-code\": \"^0.15.9\",\r\n    \"underscore.string\": \"^3.3.4\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"gh-pages\": \"^0.12.0\"\r\n  },\r\n  \"keywords\": [\r\n    \"gatsby\"\r\n  ],\r\n  \"license\": \"MIT\",\r\n  \"main\": \"n/a\",\r\n  \"scripts\": {\r\n    \"build\": \"gatsby build\",\r\n    \"deploy\": \"gatsby build --prefix-links && gh-pages -d public\",\r\n    \"develop\": \"gatsby develop\",\r\n    \"format\": \"prettier --trailing-comma es5 --no-semi --single-quote --write \\\"pages/*.js\\\" \\\"utils/*.js\\\" \\\"wrappers/*.js\\\" \\\"html.js\\\"\",\r\n    \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\"\r\n  }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/comments/321134885","html_url":"https://github.com/gatsbyjs/gatsby/issues/1659#issuecomment-321134885","issue_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/1659","id":321134885,"user":{"login":"maetl","id":24809,"avatar_url":"https://avatars0.githubusercontent.com/u/24809?v=4","gravatar_id":"","url":"https://api.github.com/users/maetl","html_url":"https://github.com/maetl","followers_url":"https://api.github.com/users/maetl/followers","following_url":"https://api.github.com/users/maetl/following{/other_user}","gists_url":"https://api.github.com/users/maetl/gists{/gist_id}","starred_url":"https://api.github.com/users/maetl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maetl/subscriptions","organizations_url":"https://api.github.com/users/maetl/orgs","repos_url":"https://api.github.com/users/maetl/repos","events_url":"https://api.github.com/users/maetl/events{/privacy}","received_events_url":"https://api.github.com/users/maetl/received_events","type":"User","site_admin":false},"created_at":"2017-08-09T02:29:02Z","updated_at":"2017-08-09T02:29:02Z","body":"Can confirm, 1.7.1 is still failing with the same error."}}
{"actor":{"display_login":"maetl"}}