{"action":"closed","issue":{"url":"https://api.github.com/repos/HerringtonDarkholme/typescript-repl/issues/28","repository_url":"https://api.github.com/repos/HerringtonDarkholme/typescript-repl","labels_url":"https://api.github.com/repos/HerringtonDarkholme/typescript-repl/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/HerringtonDarkholme/typescript-repl/issues/28/comments","events_url":"https://api.github.com/repos/HerringtonDarkholme/typescript-repl/issues/28/events","html_url":"https://github.com/HerringtonDarkholme/typescript-repl/issues/28","id":245358875,"number":28,"title":"tsun fails to install due to UNMET PEER DEPENDENCY typescript@>=2.0.0","user":{"login":"Zephilim","id":2083615,"avatar_url":"https://avatars2.githubusercontent.com/u/2083615?v=4","gravatar_id":"","url":"https://api.github.com/users/Zephilim","html_url":"https://github.com/Zephilim","followers_url":"https://api.github.com/users/Zephilim/followers","following_url":"https://api.github.com/users/Zephilim/following{/other_user}","gists_url":"https://api.github.com/users/Zephilim/gists{/gist_id}","starred_url":"https://api.github.com/users/Zephilim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zephilim/subscriptions","organizations_url":"https://api.github.com/users/Zephilim/orgs","repos_url":"https://api.github.com/users/Zephilim/repos","events_url":"https://api.github.com/users/Zephilim/events{/privacy}","received_events_url":"https://api.github.com/users/Zephilim/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-25T10:38:06Z","updated_at":"2017-07-25T11:25:08Z","closed_at":"2017-07-25T11:25:08Z","body":"I am running a version of Typescript that is > 2.0.0, so this error message is incorrect and probably masking a different problem.\r\n\r\n```\r\nNemesis:dist Nephilim$ npm install -g tsun \r\n/usr/local/bin/tsun -> /usr/local/lib/node_modules/tsun/bin/tsun\r\n/usr/local/lib\r\n├─┬ tsun@0.3.8 \r\n│ ├── @types/node@6.0.85 \r\n│ ├── colors@1.1.2 \r\n│ ├── diff@2.2.3 \r\n│ ├─┬ node-color-readline@1.0.1 \r\n│ │ ├── ansi@0.3.1 \r\n│ │ └─┬ chalk@1.1.3 \r\n│ │   ├── ansi-styles@2.2.1 \r\n│ │   ├── escape-string-regexp@1.0.5 \r\n│ │   ├─┬ has-ansi@2.0.0 \r\n│ │   │ └── ansi-regex@2.1.1 \r\n│ │   ├── strip-ansi@3.0.1 \r\n│ │   └── supports-color@2.0.0 \r\n│ ├─┬ optimist@0.6.1 \r\n│ │ ├── minimist@0.0.10 \r\n│ │ └── wordwrap@0.0.3 \r\n│ ├─┬ temp@0.8.3 \r\n│ │ ├── os-tmpdir@1.0.2 \r\n│ │ └── rimraf@2.2.8 \r\n│ └── tslib@1.7.1 \r\n└── UNMET PEER DEPENDENCY typescript@>=2.0.0\r\n\r\nnpm WARN tsun@0.3.8 requires a peer of typescript@>=2.0.0 but none was installed\r\n```\r\n\r\nAccording to tsc, my version of typescript is 2.4.1:\r\n\r\n```\r\nNemesis:dist Nephilim$ tsc -v\r\nVersion 2.4.1\r\n```\r\n... but npm list shows a different version (2.3.4):\r\n\r\n```\r\nNemesis:dist Nephilim$ npm list typescript\r\nangular-reddit@0.0.0 /Users/Nephilim/dev/learna2/angular-reddit\r\n└── typescript@2.3.4\r\n```\r\nThis is not an ignorable error, as the tsun interpreter fails to process commands, giving errors like \"Cannot find type definition file for 'jasmine'\". The googlesphere is not presenting answers, so any help here would be appreciated. Thanks."}}
{"actor":{"display_login":"HerringtonDarkholme"}}