{"action":"opened","issue":{"url":"https://api.github.com/repos/VISI-ONE/create-react-native-web-app/issues/20","repository_url":"https://api.github.com/repos/VISI-ONE/create-react-native-web-app","labels_url":"https://api.github.com/repos/VISI-ONE/create-react-native-web-app/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/VISI-ONE/create-react-native-web-app/issues/20/comments","events_url":"https://api.github.com/repos/VISI-ONE/create-react-native-web-app/issues/20/events","html_url":"https://github.com/VISI-ONE/create-react-native-web-app/issues/20","id":388859380,"node_id":"MDU6SXNzdWUzODg4NTkzODA=","number":20,"title":"Error: Command failed when Installing project dependencies (v0.1.7)","user":{"login":"haruelrovix","id":17120764,"node_id":"MDQ6VXNlcjE3MTIwNzY0","avatar_url":"https://avatars3.githubusercontent.com/u/17120764?v=4","gravatar_id":"","url":"https://api.github.com/users/haruelrovix","html_url":"https://github.com/haruelrovix","followers_url":"https://api.github.com/users/haruelrovix/followers","following_url":"https://api.github.com/users/haruelrovix/following{/other_user}","gists_url":"https://api.github.com/users/haruelrovix/gists{/gist_id}","starred_url":"https://api.github.com/users/haruelrovix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haruelrovix/subscriptions","organizations_url":"https://api.github.com/users/haruelrovix/orgs","repos_url":"https://api.github.com/users/haruelrovix/repos","events_url":"https://api.github.com/users/haruelrovix/events{/privacy}","received_events_url":"https://api.github.com/users/haruelrovix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-08T00:13:36Z","updated_at":"2018-12-08T00:13:36Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Describe the bug**\r\nCouldn't initialise the project successfully.\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. Install `latest` version\r\n```\r\n$ npm i -g create-react-native-web-app@0.1.7\r\n```\r\n2. Initialise a project\r\n```\r\n$ create-react-native-web-app gitphone2\r\n```\r\n3. Got an error\r\n```\r\n      ⏳ Installing project dependencies...\r\n\r\nyarn install v1.12.3\r\n[1/4] 🔍  Resolving packages...\r\n[2/4] 🚚  Fetching packages...\r\nerror https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.2.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: \"Unexpected end of data\"\r\ninfo Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.\r\nchild_process.js:651\r\n    throw err;\r\n    ^\r\n\r\nError: Command failed: cd gitphone2 && yarn\r\n    at checkExecSyncError (child_process.js:611:11)\r\n    at execSync (child_process.js:648:13)\r\n    at Object.<anonymous> (/Users/haruelrovix/.nvm/versions/node/v10.13.0/lib/node_modules/create-react-native-web-app/cli.js:79:3)\r\n    at Module._compile (internal/modules/cjs/loader.js:688:30)\r\n    at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)\r\n    at Module.load (internal/modules/cjs/loader.js:598:32)\r\n    at tryModuleLoad (internal/modules/cjs/loader.js:537:12)\r\n    at Function.Module._load (internal/modules/cjs/loader.js:529:3)\r\n    at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)\r\n    at startup (internal/bootstrap/node.js:285:19)\r\n```\r\n\r\n**Expected behavior**\r\nCRNWA project created successfully. Tried **v0.1.6** and it worked!\r\n\r\n1. Install v0.1.6\r\n```\r\n$ npm i -g create-react-native-web-app@0.1.6\r\n```\r\n2. Initialise a project\r\n```\r\n➜  Projects create-react-native-web-app gitphone\r\n      ⏳ Creating React Native Web App by the name of gitphone ...\r\n\r\n      ✅ Created project folder.\r\n\r\n      ✅ Added project files.\r\n\r\n      ⏳ Installing project dependencies...\r\n\r\nyarn install v1.12.3\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\n✨  Done in 42.80s.\r\n      ✅ Installed project dependencies.\r\n\r\n      ✅ Done! 😁👍 Your project is ready for development.\r\n\r\n\r\n        * change directory to your new project\r\n        $ cd gitphone\r\n\r\n        $ Then run the these commands to get started:\r\n\r\n        * To run development Web server\r\n        $ yarn web\r\n\r\n        * To run Android on connected device (after installing Android Debug Bridge \"adb\" - https://developer.android.com/studio/releases/platform-tools)\r\n        $ yarn android\r\n\r\n        * To run ios simulator (after installing Xcode - only on Apple devices)\r\n        $ yarn ios\r\n\r\n        * To run tests for Native and Web\r\n        $ yarn test\r\n\r\n        * To run build for Web\r\n        $ yarn build\r\n```\r\n\r\n|**Additional**|**context**|\r\n|-|-|\r\n|`nvm list`|v10.13.0|\r\n|`npm -v`|6.4.1|"}}
{"actor":{"display_login":"haruelrovix"}}