{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia/cli/issues/201","repository_url":"https://api.github.com/repos/aurelia/cli","labels_url":"https://api.github.com/repos/aurelia/cli/issues/201/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/cli/issues/201/comments","events_url":"https://api.github.com/repos/aurelia/cli/issues/201/events","html_url":"https://github.com/aurelia/cli/issues/201","id":162803534,"number":201,"title":"error installing fetch in typescript project","user":{"login":"dpinart","id":4228069,"avatar_url":"https://avatars.githubusercontent.com/u/4228069?v=3","gravatar_id":"","url":"https://api.github.com/users/dpinart","html_url":"https://github.com/dpinart","followers_url":"https://api.github.com/users/dpinart/followers","following_url":"https://api.github.com/users/dpinart/following{/other_user}","gists_url":"https://api.github.com/users/dpinart/gists{/gist_id}","starred_url":"https://api.github.com/users/dpinart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpinart/subscriptions","organizations_url":"https://api.github.com/users/dpinart/orgs","repos_url":"https://api.github.com/users/dpinart/repos","events_url":"https://api.github.com/users/dpinart/events{/privacy}","received_events_url":"https://api.github.com/users/dpinart/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aurelia/cli/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/aurelia/cli/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-06-28T22:38:06Z","updated_at":"2016-07-07T14:59:00Z","closed_at":"2016-06-29T17:42:51Z","body":"Hi\r\nNot sure if this is the right place for this issue...\r\nI've created a new Typescript aurelia project that uses http-fetch-client plugin. As I need to support edge browser I need to install fetch polyfill si I run 'npm install fetch --save' command that throws following error:\r\nnpm WARN package.json patient-appointments@0.1.0 No README data\r\nnpm ERR! Windows_NT 10.0.10586\r\nnpm ERR! argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"install\" \"fetch\" \"--save\"\r\nnpm ERR! node v4.4.6\r\nnpm ERR! npm  v2.15.5\r\nnpm ERR! code EPEERINVALID\r\n\r\nnpm ERR! peerinvalid The package typescript@1.9.0-dev.20160627-1.0 does not satisfy its siblings' peerDependencies requirements!\r\nnpm ERR! peerinvalid Peer tslint@3.12.1 wants typescript@>=1.7.3\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     C:\\Projects\\ics-web\\patient-appointments\\npm-debug.log\r\n\r\nDespite the above error I can see 'fetch' folder in the node_modules folder.\r\nI then added the 'fetch' module within the  vendors-bundle dependencies.\r\n\r\nrunning au run command I got following error:\r\n\r\n{ uid: 9,\r\n  name: 'writeBundles',\r\n  branch: false,\r\n  error:\r\n   { [Error: ENOENT: no such file or directory, open 'C:\\Projects\\ics-web\\patient-appointments\\src\\http.js']\r\n     errno: -4058,\r\n     code: 'ENOENT',\r\n     syscall: 'open',\r\n     path: 'C:\\\\Projects\\\\ics-web\\\\patient-appointments\\\\src\\\\http.js',\r\n     moduleTree: [ 'fetch' ],\r\n     fileName: 'C:/Projects/ics-web/patient-appointments/node_modules/fetch/lib/fetch.js' },\r\n  duration: [ 3, 555100087 ],\r\n  time: 1467153449344 }\r\n{ uid: 1,\r\n  name: '<series>',\r\n  branch: true,\r\n  error:\r\n   { [Error: ENOENT: no such file or directory, open 'C:\\Projects\\ics-web\\patient-appointments\\src\\http.js']\r\n     errno: -4058,\r\n     code: 'ENOENT',\r\n     syscall: 'open',\r\n     path: 'C:\\\\Projects\\\\ics-web\\\\patient-appointments\\\\src\\\\http.js',\r\n     moduleTree: [ 'fetch' ],\r\n     fileName: 'C:/Projects/ics-web/patient-appointments/node_modules/fetch/lib/fetch.js' },\r\n  duration: [ 5, 4261441 ],\r\n  time: 1467153449354 }\r\n{ uid: 0,\r\n  name: '<series>',\r\n  branch: true,\r\n  error:\r\n   { [Error: ENOENT: no such file or directory, open 'C:\\Projects\\ics-web\\patient-appointments\\src\\http.js']\r\n     errno: -4058,\r\n     code: 'ENOENT',\r\n     syscall: 'open',\r\n     path: 'C:\\\\Projects\\\\ics-web\\\\patient-appointments\\\\src\\\\http.js',\r\n     moduleTree: [ 'fetch' ],\r\n     fileName: 'C:/Projects/ics-web/patient-appointments/node_modules/fetch/lib/fetch.js' },\r\n  duration: [ 5, 5977479 ],\r\n  time: 1467153449355 }\r\n"},"comment":{"url":"https://api.github.com/repos/aurelia/cli/issues/comments/231104050","html_url":"https://github.com/aurelia/cli/issues/201#issuecomment-231104050","issue_url":"https://api.github.com/repos/aurelia/cli/issues/201","id":231104050,"user":{"login":"iturner100","id":566724,"avatar_url":"https://avatars.githubusercontent.com/u/566724?v=3","gravatar_id":"","url":"https://api.github.com/users/iturner100","html_url":"https://github.com/iturner100","followers_url":"https://api.github.com/users/iturner100/followers","following_url":"https://api.github.com/users/iturner100/following{/other_user}","gists_url":"https://api.github.com/users/iturner100/gists{/gist_id}","starred_url":"https://api.github.com/users/iturner100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iturner100/subscriptions","organizations_url":"https://api.github.com/users/iturner100/orgs","repos_url":"https://api.github.com/users/iturner100/repos","events_url":"https://api.github.com/users/iturner100/events{/privacy}","received_events_url":"https://api.github.com/users/iturner100/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T14:59:00Z","updated_at":"2016-07-07T14:59:00Z","body":"It seems to work fine without the import and just using the prepend (based on a simple test of whether Edge displays anything!). Thanks."}}
{"actor":{"display_login":"iturner100"}}