{"action":"created","issue":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/9511","repository_url":"https://api.github.com/repos/gatsbyjs/gatsby","labels_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/9511/labels{/name}","comments_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/9511/comments","events_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/9511/events","html_url":"https://github.com/gatsbyjs/gatsby/issues/9511","id":374821580,"node_id":"MDU6SXNzdWUzNzQ4MjE1ODA=","number":9511,"title":"Errors on first install (childImageSharp/gatsby-transformer-sharp)","user":{"login":"cmkshaw","id":3333696,"node_id":"MDQ6VXNlcjMzMzM2OTY=","avatar_url":"https://avatars1.githubusercontent.com/u/3333696?v=4","gravatar_id":"","url":"https://api.github.com/users/cmkshaw","html_url":"https://github.com/cmkshaw","followers_url":"https://api.github.com/users/cmkshaw/followers","following_url":"https://api.github.com/users/cmkshaw/following{/other_user}","gists_url":"https://api.github.com/users/cmkshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/cmkshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmkshaw/subscriptions","organizations_url":"https://api.github.com/users/cmkshaw/orgs","repos_url":"https://api.github.com/users/cmkshaw/repos","events_url":"https://api.github.com/users/cmkshaw/events{/privacy}","received_events_url":"https://api.github.com/users/cmkshaw/received_events","type":"User","site_admin":false},"labels":[{"id":1038051271,"node_id":"MDU6TGFiZWwxMDM4MDUxMjcx","url":"https://api.github.com/repos/gatsbyjs/gatsby/labels/status:%20awaiting%20author%20response","name":"status: awaiting author response","color":"f7c309","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-10-29T00:57:05Z","updated_at":"2018-12-14T18:47:15Z","closed_at":null,"author_association":"NONE","body":"Hi! I did a quick command-F for `childImageSharp`/ `gatsby-transformer-sharp` in existing issues but didn't see anything for first-time installers at a glance. \r\n\r\n## Description\r\n\r\nI've followed the first three steps of your [setup guide](https://www.gatsbyjs.org/docs/) and am stalled with errors.\r\n\r\n### Steps to reproduce\r\n\r\nRan: \r\n`npm install --global gatsby-cli`\r\n`gatsby new gatsby-site https://github.com/gatsbyjs/gatsby-starter-default`\r\n`cd gatsby-site`\r\n`gatsby develop` \r\n\r\n### Expected result\r\n\r\nGatsby will start a hot-reloading development environment accessible at localhost:8000\r\n\r\n### Actual result\r\n\r\n```\r\n~/documents/repos/gatsby-site $gatsby develop\r\nsuccess open and validate gatsby-configs — 0.007 s\r\nsuccess load plugins — 0.182 s\r\nerror Plugin gatsby-transformer-sharp returned an error\r\n\r\n\r\n  Error: Cannot find module '../build/Release/sharp.node'\r\n  \r\n  - v8-compile-cache.js:159 require\r\n    [gatsby-site]/[v8-compile-cache]/v8-compile-cache.js:159:20\r\n \r\n```\r\n... stuff\r\n```\r\nsuccess onPreInit — 0.266 s\r\nsuccess delete html and css files from previous builds — 0.010 s\r\nsuccess initialize cache — 0.005 s\r\nsuccess copy gatsby files — 0.090 s\r\nerror Plugin gatsby-transformer-sharp returned an error\r\n\r\n\r\n  Error: Cannot find module '../build/Release/sharp.node'\r\n```\r\n\r\nMultiple instances of:\r\n```\r\nerror Plugin gatsby-transformer-sharp returned an error\r\n```\r\nfinally,\r\n```\r\nERROR in ./src/components/image.js\r\nModule Error (from ./node_modules/eslint-loader/index.js):\r\n\r\n/Users/carolineshaw/Documents/Repos/gatsby-site/src/components/image.js\r\n  21:11  error  Cannot query field \"childImageSharp\" on type \"File\"  graphql/template-strings\r\n\r\n✖ 1 problem (1 error, 0 warnings)\r\n\r\n @ ./src/pages/index.js 12:0-40 49:25-30\r\n @ ./.cache/sync-requires.js\r\n @ ./.cache/app.js\r\n @ multi ./node_modules/react-hot-loader/patch.js (webpack)-hot-middleware/client.js?path=http://localhost:8000/__webpack_hmr&reload=true&overlay=false ./.cache/app\r\nℹ ｢wdm｣: Failed to compile.\r\n\r\n```\r\n### Environment\r\n\r\n```\r\n System:\r\n    OS: macOS High Sierra 10.13.6\r\n    CPU: x64 Intel(R) Core(TM) i5-5287U CPU @ 2.90GHz\r\n    Shell: 3.2.57 - /bin/bash\r\n  Binaries:\r\n    Node: 8.11.3 - ~/.nvm/versions/node/v8.11.3/bin/node\r\n    Yarn: 1.3.2 - /usr/local/bin/yarn\r\n    npm: 6.4.0 - ~/.nvm/versions/node/v8.11.3/bin/npm\r\n  Browsers:\r\n    Chrome: 69.0.3497.100\r\n    Firefox: 63.0\r\n    Safari: 12.0\r\n  npmPackages:\r\n    gatsby: ^2.0.19 => 2.0.31 \r\n    gatsby-image: ^2.0.15 => 2.0.17 \r\n    gatsby-plugin-manifest: ^2.0.5 => 2.0.6 \r\n    gatsby-plugin-offline: ^2.0.5 => 2.0.9 \r\n    gatsby-plugin-react-helmet: ^3.0.0 => 3.0.0 \r\n    gatsby-plugin-sharp: ^2.0.7 => 2.0.8 \r\n    gatsby-source-filesystem: ^2.0.4 => 2.0.5 \r\n    gatsby-transformer-sharp: ^2.1.4 => 2.1.5 \r\n  npmGlobalPackages:\r\n    gatsby-cli: 2.4.3\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/comments/447417946","html_url":"https://github.com/gatsbyjs/gatsby/issues/9511#issuecomment-447417946","issue_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/9511","id":447417946,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzQxNzk0Ng==","user":{"login":"TristanTheKnightAway","id":10853944,"node_id":"MDQ6VXNlcjEwODUzOTQ0","avatar_url":"https://avatars2.githubusercontent.com/u/10853944?v=4","gravatar_id":"","url":"https://api.github.com/users/TristanTheKnightAway","html_url":"https://github.com/TristanTheKnightAway","followers_url":"https://api.github.com/users/TristanTheKnightAway/followers","following_url":"https://api.github.com/users/TristanTheKnightAway/following{/other_user}","gists_url":"https://api.github.com/users/TristanTheKnightAway/gists{/gist_id}","starred_url":"https://api.github.com/users/TristanTheKnightAway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TristanTheKnightAway/subscriptions","organizations_url":"https://api.github.com/users/TristanTheKnightAway/orgs","repos_url":"https://api.github.com/users/TristanTheKnightAway/repos","events_url":"https://api.github.com/users/TristanTheKnightAway/events{/privacy}","received_events_url":"https://api.github.com/users/TristanTheKnightAway/received_events","type":"User","site_admin":false},"created_at":"2018-12-14T18:47:15Z","updated_at":"2018-12-14T18:47:15Z","author_association":"NONE","body":"hey thanks @jonniebigodes for the comment and clarification. Wasn't trying to place blame on Gatsby, just trying to finger my specific issue. Helpful to know it's a node thing. I ran across a lot of open-ended error threads that didn't mention python so figured it was worth a mention here for someone else. I thought it strange when I saw a python fail somewhere down the line of blood red error messages and I'm super happy it turned out to be the culprit. I bet if I went to the Gatsby docs it's probably mentioned there..."}}
{"actor":{"display_login":"TristanTheKnightAway"}}