{"action":"created","issue":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/6972","repository_url":"https://api.github.com/repos/gatsbyjs/gatsby","labels_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/6972/labels{/name}","comments_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/6972/comments","events_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/6972/events","html_url":"https://github.com/gatsbyjs/gatsby/issues/6972","id":347088784,"node_id":"MDU6SXNzdWUzNDcwODg3ODQ=","number":6972,"title":"Gatsby command Not Found on Deploy","user":{"login":"bhankee","id":17860882,"node_id":"MDQ6VXNlcjE3ODYwODgy","avatar_url":"https://avatars0.githubusercontent.com/u/17860882?v=4","gravatar_id":"","url":"https://api.github.com/users/bhankee","html_url":"https://github.com/bhankee","followers_url":"https://api.github.com/users/bhankee/followers","following_url":"https://api.github.com/users/bhankee/following{/other_user}","gists_url":"https://api.github.com/users/bhankee/gists{/gist_id}","starred_url":"https://api.github.com/users/bhankee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhankee/subscriptions","organizations_url":"https://api.github.com/users/bhankee/orgs","repos_url":"https://api.github.com/users/bhankee/repos","events_url":"https://api.github.com/users/bhankee/events{/privacy}","received_events_url":"https://api.github.com/users/bhankee/received_events","type":"User","site_admin":false},"labels":[{"id":708055337,"node_id":"MDU6TGFiZWw3MDgwNTUzMzc=","url":"https://api.github.com/repos/gatsbyjs/gatsby/labels/%F0%9F%93%8D%20status:%20needs%20more%20info","name":"📍 status: needs more info","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-02T16:37:13Z","updated_at":"2018-08-06T10:34:59Z","closed_at":null,"author_association":"NONE","body":"<!--\r\n  To make it easier for us to help you, please include as much useful information as possible.\r\n\r\n  Useful Links:\r\n  - Documentation: https://www.gatsbyjs.org/docs/\r\n\r\n  Gatsby has several community support channels, try asking your question on:\r\n\r\n  - Discord: https://discord.gg/0ZcbPKXt5bVoxkfV\r\n  - Spectrum: https://spectrum.chat/gatsby-js\r\n  - Twitter: https://twitter.com/gatsbyjs\r\n\r\n  Before opening a new issue, please search existing issues https://github.com/gatsbyjs/gatsby/issues\r\n-->\r\n\r\n## Summary\r\nBeen searching for an answer more then a day but after following deploy instructions for Netlify getting the following logs and Gatsby command not found.\r\n\r\n## Relevant information\r\nLOGS:\r\n12:29:08 PM: Starting build script\r\n12:29:08 PM: Installing dependencies\r\n12:29:09 PM: v8.11.3 is already installed.\r\n12:29:09 PM: Now using node v8.11.3 (npm v5.6.0)\r\n12:29:10 PM: Attempting ruby version 2.3.6, read from environment\r\n12:29:12 PM: Using ruby version 2.3.6\r\n12:29:12 PM: Using PHP version 5.6\r\n12:29:12 PM: Started restoring cached go cache\r\n12:29:12 PM: Finished restoring cached go cache\r\n12:29:12 PM: unset GOOS;\r\n12:29:12 PM: unset GOARCH;\r\n12:29:12 PM: export GOROOT='/opt/buildhome/.gimme/versions/go1.10.linux.amd64';\r\n12:29:12 PM: export PATH=\"/opt/buildhome/.gimme/versions/go1.10.linux.amd64/bin:${PATH}\";\r\n12:29:12 PM: go version >&2;\r\n12:29:12 PM: export GIMME_ENV='/opt/buildhome/.gimme/env/go1.10.linux.amd64.env';\r\n12:29:12 PM: go version go1.10 linux/amd64\r\n12:29:12 PM: Installing missing commands\r\n12:29:12 PM: Verify run directory\r\n12:29:12 PM: Executing user command: gatsby build\r\n12:29:12 PM: /usr/local/bin/build: line 32: gatsby: command not found\r\n12:29:12 PM: Caching artifacts\r\n12:29:12 PM: Started saving pip cache\r\n12:29:12 PM: Finished saving pip cache\r\n12:29:12 PM: Started saving emacs cask dependencies\r\n<!-- Provide as much useful information as you can -->\r\n\r\n### Environment (if relevant)\r\nMAC and Netlify\r\n<!--\r\n  Required. Run `gatsby info --clipboard` in your gatsby project directory and paste its contents here.\r\n  Not working? You may need to update your global gatsby-cli - `npm install -g gatsby-cli`\r\n-->\r\n  System:\r\n    OS: macOS High Sierra 10.13.6\r\n    CPU: x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz\r\n    Shell: 3.2.57 - /bin/bash\r\n  Binaries:\r\n    Node: 8.2.0 - /usr/local/bin/node\r\n    Yarn: yarn install v0.27.5\r\ninfo No lockfile found.\r\n[1/4] Resolving packages...\r\n[2/4] Fetching packages...\r\n[3/4] Linking dependencies...\r\n[4/4] Building fresh packages...\r\nsuccess Saved lockfile.\r\nDone in 34.53s. - /usr/local/bin/yarn\r\n    npm: 5.3.0 - /usr/local/bin/npm\r\n  Browsers:\r\n    Chrome: 67.0.3396.99\r\n    Firefox: 57.0.4\r\n    Safari: 11.1.2\r\n  npmPackages:\r\n    gatsby: ^1.9.247 => 1.9.250\r\n    gatsby-link: ^1.6.40 => 1.6.40\r\n    gatsby-plugin-react-helmet: ^2.0.10 => 2.0.10\r\n    gatsby-plugin-sass: ^1.0.26 => 1.0.26\r\n  npmGlobalPackages:\r\n    gatsby-cli: 1.1.58\r\n\r\n### File contents (if changed)\r\n\r\n`gatsby-config.js`: N/A <!-- Please use a code block or just leave it as is if wasn't changed -->\r\n`package.json`: N/A <!-- Please use a code block or just leave it as is if wasn't changed -->\r\n`gatsby-node.js`: N/A <!-- Please use a code block or just leave it as is if wasn't changed -->\r\n`gatsby-browser.js`: N/A <!-- Please use a code block or just leave it as is if wasn't changed -->\r\n`gatsby-ssr.js`: N/A <!-- Please use a code block or just leave it as is if wasn't changed -->\r\n"},"comment":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/comments/410665242","html_url":"https://github.com/gatsbyjs/gatsby/issues/6972#issuecomment-410665242","issue_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/6972","id":410665242,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDY2NTI0Mg==","user":{"login":"anantoghosh","id":12339068,"node_id":"MDQ6VXNlcjEyMzM5MDY4","avatar_url":"https://avatars3.githubusercontent.com/u/12339068?v=4","gravatar_id":"","url":"https://api.github.com/users/anantoghosh","html_url":"https://github.com/anantoghosh","followers_url":"https://api.github.com/users/anantoghosh/followers","following_url":"https://api.github.com/users/anantoghosh/following{/other_user}","gists_url":"https://api.github.com/users/anantoghosh/gists{/gist_id}","starred_url":"https://api.github.com/users/anantoghosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anantoghosh/subscriptions","organizations_url":"https://api.github.com/users/anantoghosh/orgs","repos_url":"https://api.github.com/users/anantoghosh/repos","events_url":"https://api.github.com/users/anantoghosh/events{/privacy}","received_events_url":"https://api.github.com/users/anantoghosh/received_events","type":"User","site_admin":false},"created_at":"2018-08-06T10:34:59Z","updated_at":"2018-08-06T10:34:59Z","author_association":"CONTRIBUTOR","body":"change your build command to `npm run build` instead"}}
{"actor":{"display_login":"anantoghosh"}}