{"action":"opened","issue":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/2244","repository_url":"https://api.github.com/repos/gatsbyjs/gatsby","labels_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/2244/labels{/name}","comments_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/2244/comments","events_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/2244/events","html_url":"https://github.com/gatsbyjs/gatsby/issues/2244","id":260767813,"number":2244,"title":"Gatsby breaks with yarn 1.x","user":{"login":"ahmedelgabri","id":63876,"avatar_url":"https://avatars0.githubusercontent.com/u/63876?v=4","gravatar_id":"","url":"https://api.github.com/users/ahmedelgabri","html_url":"https://github.com/ahmedelgabri","followers_url":"https://api.github.com/users/ahmedelgabri/followers","following_url":"https://api.github.com/users/ahmedelgabri/following{/other_user}","gists_url":"https://api.github.com/users/ahmedelgabri/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmedelgabri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmedelgabri/subscriptions","organizations_url":"https://api.github.com/users/ahmedelgabri/orgs","repos_url":"https://api.github.com/users/ahmedelgabri/repos","events_url":"https://api.github.com/users/ahmedelgabri/events{/privacy}","received_events_url":"https://api.github.com/users/ahmedelgabri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-26T20:58:06Z","updated_at":"2017-09-26T20:58:06Z","closed_at":null,"author_association":"NONE","body":"After updating yarn, I can't build anymore. yarn `0.27.5` works fine but not `1.x`. Here is the [repo](https://github.com/ahmedelgabri/gabri.me) & this is the error I'm getting:\r\n\r\nDeleting `yarn.lock` & `node_modules` didn't help\r\n\r\n```\r\nλ yarn run build\r\nyarn run v1.1.0\r\n$ gatsby build\r\nsuccess delete html files from previous builds — 0.042 s\r\nsuccess open and validate gatsby-config.js — 0.004 s\r\nsuccess copy gatsby files — 0.019 s\r\nsuccess source and transform nodes — 0.131 s\r\nsuccess building schema — 0.219 s\r\nsuccess createLayouts — 0.007 s\r\nsuccess createPages — 0.051 s\r\nsuccess createPagesStatefully — 0.008 s\r\nsuccess extract queries from components — 0.079 s\r\nsuccess run graphql queries — 0.733 s\r\nsuccess write out page data — 0.003 s\r\nsuccess update schema — 0.092 s\r\n\r\ninfo bootstrap finished - 2.567 s\r\n\r\nsuccess Building CSS — 0.523 s\r\nsuccess Building production JavaScript bundles — 0.119 s\r\n\r\nerror Building static HTML for pages failed\r\n\r\nSee our docs page on debugging HTML builds for help https://goo.gl/yL9lND\r\n\r\n\r\n  Error: Error: Cannot resolve module 'babel' in /Users/ahmed/Sites/dev/gabrime\r\n  resolve module babel in /Users/ahmed/Sites/dev/gabrime\r\n    looking for modules in /Users/ahmed/Sites/dev/gabrime/node_modules\r\n      module variation babel-webpack-node-loader\r\n        /Users/ahmed/Sites/dev/gabrime/node_modules/babel-webpack-node-loader doesn't exist (module as directory)\r\n        resolve 'file' babel-webpack-node-loader in /Users/ahmed/Sites/dev/gabrime/node_modules\r\n          resolve file\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel-webpack-node-loader doesn't exist\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel-webpack-node-loader.webpack-node-loader.js doesn't exist\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel-webpack-node-loader.loader.js doesn't exist\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel-webpack-node-loader.js doesn't exist\r\n      module variation babel-node-loader\r\n        /Users/ahmed/Sites/dev/gabrime/node_modules/babel-node-loader doesn't exist (module as directory)\r\n        resolve 'file' babel-node-loader in /Users/ahmed/Sites/dev/gabrime/node_modules\r\n          resolve file\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel-node-loader doesn't exist\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel-node-loader.webpack-node-loader.js doesn't exist\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel-node-loader.loader.js doesn't exist\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel-node-loader.js doesn't exist\r\n      module variation babel-loader\r\n        /Users/ahmed/Sites/dev/gabrime/node_modules/babel-loader doesn't exist (module as directory)\r\n        resolve 'file' babel-loader in /Users/ahmed/Sites/dev/gabrime/node_modules\r\n          resolve file\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel-loader doesn't exist\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel-loader.webpack-node-loader.js doesn't exist\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel-loader.loader.js doesn't exist\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel-loader.js doesn't exist\r\n      module variation babel\r\n        /Users/ahmed/Sites/dev/gabrime/node_modules/babel doesn't exist (module as directory)\r\n        resolve 'file' babel in /Users/ahmed/Sites/dev/gabrime/node_modules\r\n          resolve file\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel doesn't exist\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel.webpack-node-loader.js doesn't exist\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel.loader.js doesn't exist\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel.js doesn't exist\r\n    looking for modules in /Users/ahmed/Sites/dev/gabrime/node_modules\r\n      module variation babel-webpack-node-loader\r\n        resolve 'file' babel-webpack-node-loader in /Users/ahmed/Sites/dev/gabrime/node_modules\r\n          resolve file\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel-webpack-node-loader doesn't exist\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel-webpack-node-loader.webpack-node-loader.js doesn't exist\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel-webpack-node-loader.loader.js doesn't exist\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel-webpack-node-loader.js doesn't exist\r\n        /Users/ahmed/Sites/dev/gabrime/node_modules/babel-webpack-node-loader doesn't exist (module as directory)\r\n      module variation babel-node-loader\r\n        resolve 'file' babel-node-loader in /Users/ahmed/Sites/dev/gabrime/node_modules\r\n          resolve file\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel-node-loader doesn't exist\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel-node-loader.webpack-node-loader.js doesn't exist\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel-node-loader.loader.js doesn't exist\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel-node-loader.js doesn't exist\r\n        /Users/ahmed/Sites/dev/gabrime/node_modules/babel-node-loader doesn't exist (module as directory)\r\n      module variation babel-loader\r\n        resolve 'file' babel-loader in /Users/ahmed/Sites/dev/gabrime/node_modules\r\n          resolve file\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel-loader doesn't exist\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel-loader.webpack-node-loader.js doesn't exist\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel-loader.loader.js doesn't exist\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel-loader.js doesn't exist\r\n        /Users/ahmed/Sites/dev/gabrime/node_modules/babel-loader doesn't exist (module as directory)\r\n      module variation babel\r\n        resolve 'file' babel in /Users/ahmed/Sites/dev/gabrime/node_modules\r\n          resolve file\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel doesn't exist\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel.webpack-node-loader.js doesn't exist\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel.loader.js doesn't exist\r\n            /Users/ahmed/Sites/dev/gabrime/node_modules/babel.js doesn't exist\r\n        /Users/ahmed/Sites/dev/gabrime/node_modules/babel doesn't exist (module as directory)\r\n\r\nerror Command failed with exit code 1.\r\ninfo Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.\r\n[1]    36348 exit 1     yarn run build\r\n```"}}
{"actor":{"display_login":"ahmedelgabri"}}