{"action":"created","issue":{"url":"https://api.github.com/repos/aws-amplify/amplify-cli/issues/512","repository_url":"https://api.github.com/repos/aws-amplify/amplify-cli","labels_url":"https://api.github.com/repos/aws-amplify/amplify-cli/issues/512/labels{/name}","comments_url":"https://api.github.com/repos/aws-amplify/amplify-cli/issues/512/comments","events_url":"https://api.github.com/repos/aws-amplify/amplify-cli/issues/512/events","html_url":"https://github.com/aws-amplify/amplify-cli/issues/512","id":384812949,"node_id":"MDU6SXNzdWUzODQ4MTI5NDk=","number":512,"title":"Amplify CLI throwing error post install on Windows 10 Enterprise","user":{"login":"geverghe","id":16950956,"node_id":"MDQ6VXNlcjE2OTUwOTU2","avatar_url":"https://avatars1.githubusercontent.com/u/16950956?v=4","gravatar_id":"","url":"https://api.github.com/users/geverghe","html_url":"https://github.com/geverghe","followers_url":"https://api.github.com/users/geverghe/followers","following_url":"https://api.github.com/users/geverghe/following{/other_user}","gists_url":"https://api.github.com/users/geverghe/gists{/gist_id}","starred_url":"https://api.github.com/users/geverghe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geverghe/subscriptions","organizations_url":"https://api.github.com/users/geverghe/orgs","repos_url":"https://api.github.com/users/geverghe/repos","events_url":"https://api.github.com/users/geverghe/events{/privacy}","received_events_url":"https://api.github.com/users/geverghe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-27T14:11:18Z","updated_at":"2018-11-27T14:22:19Z","closed_at":"2018-11-27T14:22:19Z","author_association":"NONE","body":"**Describe the bug**\r\nI tried installing amplify cli using npm install -g @aws-amplifycli\r\n\r\nIt installs successfully\r\n\r\nLogs\r\n>npm install -g @aws-amplify/cli\r\nnpm WARN npm npm does not support Node.js v7.10.0\r\nnpm WARN npm You should probably upgrade to a newer version of node as we\r\nnpm WARN npm can't make any promises that npm will work with this version.\r\nnpm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10.\r\nnpm WARN npm You can find the latest version at https://nodejs.org/\r\nnpm WARN npm npm does not support Node.js v7.10.0\r\nnpm WARN npm You should probably upgrade to a newer version of node as we\r\nnpm WARN npm can't make any promises that npm will work with this version.\r\nnpm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10.\r\nnpm WARN npm You can find the latest version at https://nodejs.org/\r\nnpm WARN deprecated kleur@2.0.2: Please upgrade to kleur@3 or migrate to 'ansi-colors' if you prefer the old syntax. Visit <https://github.com/lukeed/kleur/releases/tag/v3.0.0\\> for migration path(s).\r\nnpm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue\r\nC:\\Users\\geverghe\\AppData\\Roaming\\npm\\amplify -> C:\\Users\\geverghe\\AppData\\Roaming\\npm\\node_modules\\@aws-amplify\\cli\\bin\\amplify\r\nnpm WARN graphql-import@0.4.5 requires a peer of graphql@^0.11.0 || ^0.12.0 || ^0.13.0 but none is installed. You must install peer dependencies yourself.\r\nnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\\@aws-amplify\\cli\\node_modules\\fsevents):\r\nnpm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {\"os\":\"darwin\",\"arch\":\"any\"} (current: {\"os\":\"win32\",\"arch\":\"x64\"})\r\n\r\n+ @aws-amplify/cli@0.1.35\r\nadded 2 packages from 1 contributor, removed 6 packages and updated 27 packages in 65.81s\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. Post installation, I typed \"amplify\" on command prompt and I get the following error\r\n\r\n\\AppData\\Roaming\\npm\\node_modules\\@aws-amplify\\cli\\src\\extensions\\amplify-helpers\\show-help.js:30\r\n  );\r\n  ^\r\nSyntaxError: Unexpected token )\r\n    at createScript (vm.js:53:10)\r\n    at Object.runInThisContext (vm.js:95:10)\r\n    at Module._compile (module.js:543:28)\r\n    at Object.Module._extensions..js (module.js:580:10)\r\n    at Module.load (module.js:488:32)\r\n    at tryModuleLoad (module.js:447:12)\r\n    at Function.Module._load (module.js:439:3)\r\n    at Module.require (module.js:498:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (C:\\Users\\geverghe\\AppData\\Roaming\\npm\\node_modules\\@aws-amplify\\cli\\src\\extensions\\amplify-helpers\\show-all-help.js:2:22)\r\n\r\n**Expected behavior**\r\nHelp Commands/Welcome message\r\n\r\n**Screenshots**\r\nIf applicable, add screenshots to help explain your problem.\r\n![image](https://user-images.githubusercontent.com/16950956/49087160-3f7fb280-f27c-11e8-93bb-f33ff39282cf.png)\r\n\r\n**Desktop (please complete the following information):**\r\n - OS: Windows 10 Enterprise\r\n - Command Prompt\r\n"},"comment":{"url":"https://api.github.com/repos/aws-amplify/amplify-cli/issues/comments/442075215","html_url":"https://github.com/aws-amplify/amplify-cli/issues/512#issuecomment-442075215","issue_url":"https://api.github.com/repos/aws-amplify/amplify-cli/issues/512","id":442075215,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjA3NTIxNQ==","user":{"login":"geverghe","id":16950956,"node_id":"MDQ6VXNlcjE2OTUwOTU2","avatar_url":"https://avatars1.githubusercontent.com/u/16950956?v=4","gravatar_id":"","url":"https://api.github.com/users/geverghe","html_url":"https://github.com/geverghe","followers_url":"https://api.github.com/users/geverghe/followers","following_url":"https://api.github.com/users/geverghe/following{/other_user}","gists_url":"https://api.github.com/users/geverghe/gists{/gist_id}","starred_url":"https://api.github.com/users/geverghe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geverghe/subscriptions","organizations_url":"https://api.github.com/users/geverghe/orgs","repos_url":"https://api.github.com/users/geverghe/repos","events_url":"https://api.github.com/users/geverghe/events{/privacy}","received_events_url":"https://api.github.com/users/geverghe/received_events","type":"User","site_admin":false},"created_at":"2018-11-27T14:22:19Z","updated_at":"2018-11-27T14:22:19Z","author_association":"NONE","body":"My apologies. I was running on an old node version."}}
{"actor":{"display_login":"geverghe"}}