{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/2925","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/2925/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/2925/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/2925/events","html_url":"https://github.com/angular/angular-cli/issues/2925","id":185848656,"number":2925,"title":"Cli gives strange lint warnings when using in-memory-web-api (referred to here by wardbell)","user":{"login":"mmc41","id":17993,"avatar_url":"https://avatars.githubusercontent.com/u/17993?v=3","gravatar_id":"","url":"https://api.github.com/users/mmc41","html_url":"https://github.com/mmc41","followers_url":"https://api.github.com/users/mmc41/followers","following_url":"https://api.github.com/users/mmc41/following{/other_user}","gists_url":"https://api.github.com/users/mmc41/gists{/gist_id}","starred_url":"https://api.github.com/users/mmc41/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmc41/subscriptions","organizations_url":"https://api.github.com/users/mmc41/orgs","repos_url":"https://api.github.com/users/mmc41/repos","events_url":"https://api.github.com/users/mmc41/events{/privacy}","received_events_url":"https://api.github.com/users/mmc41/received_events","type":"User","site_admin":false},"labels":[{"id":385595266,"url":"https://api.github.com/repos/angular/angular-cli/labels/need:%20more%20info","name":"need: more info","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-28T06:30:37Z","updated_at":"2016-11-03T18:56:30Z","closed_at":"2016-11-03T18:56:30Z","body":"> ## Please provide us with the following information:\n### OS?\n\n> Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)\n\nMacOS 10.12.1\n### Versions.\n\n> Please run `ng --version`. If there's nothing outputted, please run in a Terminal: `node --version` and paste the result here:\n\nangular-cli: 1.0.0-beta.18\nnode: 7.0.0\nos: darwin x64\n### Repro steps.\n\n> Was this an app that wasn't created using the CLI? What change did you do on your code? etc.\n\nPlease see attached demo app for the bug:\n\n[bugdemoproject.zip](https://github.com/angular/angular-cli/files/557697/bugdemoproject.zip)\n\n Unzip, \"npm install\" and \"ng test\" on a Mac to reproduce. You might also be able to reproduce on a PC (not sure) but in this case you need to make sure you DO NOT have folder on it called \"C:/github/angular.in-memory-web-api\" !!\n### The log given by the failure.\n\nNote strange logs message below since I am using a Mac and have no \"C:\" drive: \n\nWARNING in ./~/angular-in-memory-web-myprojectapi/index.js\nCannot find source file 'C:/github/angular.in-memory-web-api/src//src/index.ts': Error: Can't resolve './C:/github/angular.in-memory-web-api/src//src/index.ts' in '/Users/mmc/repos/myproject/projects/client/node_modules/angular-in-memory-web-api'\n @ ./src/app/fakedata/fake-data-memory-service.ts 9:70-106\n @ ./src/app/shared/services/categories.service.spec.ts\n @ ./src .spec.ts\n @ ./src/test.ts\n\nWARNING in ./~/angular-in-memory-web-api/http-status-codes.js\nCannot find source file 'C:/github/angular.in-memory-web-api/src//src/http-status-codes.ts': Error: Can't resolve './C:/github/angular.in-memory-web-api/src//src/http-status-codes.ts' in '/Users/mmc/repos/myproject/projects/client/node_modules/angular-in-memory-web-api'\n @ ./~/angular-in-memory-web-api/index.js 1:0-36\n @ ./src/app/fakedata/fake-data-memory-service.ts\n @ ./src/app/shared/services/categories.service.spec.ts\n @ ./src .spec.ts\n @ ./src/test.ts\n\nWARNING in ./~/angular-in-memory-web-api/in-memory-backend.service.js\nCannot find source file 'C:/github/angular.in-memory-web-api/src//src/in-memory-backend.service.ts': Error: Can't resolve './C:/github/angular.in-memory-web-api/src//src/in-memory-backend.service.ts' in '/Users/mmc/repos/myproject/projects/client/node_modules/angular-in-memory-web-api'\n @ ./~/angular-in-memory-web-api/index.js 2:0-44\n @ ./src/app/fakedata/fake-data-memory-service.ts\n @ ./src/app/shared/services/categories.service.spec.ts\n @ ./src .spec.ts\n @ ./src/test.ts\n\nWARNING in ./~/angular-in-memory-web-api/in-memory-web-api.module.js\nCannot find source file 'C:/github/angular.in-memory-web-api/src//src/in-memory-web-api.module.ts': Error: Can't resolve './C:/github/angular.in-memory-web-api/src//src/in-memory-web-api.module.ts' in '/Users/mmc/repos/myproject/projects/client/node_modules/angular-in-memory-web-api'\n @ ./~/angular-in-memory-web-api/index.js 3:0-43\n @ ./src/app/fakedata/fake-data-memory-service.ts\n @ ./src/app/shared/services/categories.service.spec.ts\n @ ./src .spec.ts\n @ ./src/test.ts.\n### Mention any other details that might be useful.\n\nThe warnings also occurs with latest 2.1.2 of angular and with earlier versions of node.\n\nAlso reported [here](https://github.com/angular/in-memory-web-api/issues/43), but the in-memory-web-api author wardbell does not use angular-cli and requests me to raise the issue here instead as he is \"not using the CLI so I personally don't know how to configure it properly.\". \n"},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/258240722","html_url":"https://github.com/angular/angular-cli/issues/2925#issuecomment-258240722","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/2925","id":258240722,"user":{"login":"mmc41","id":17993,"avatar_url":"https://avatars.githubusercontent.com/u/17993?v=3","gravatar_id":"","url":"https://api.github.com/users/mmc41","html_url":"https://github.com/mmc41","followers_url":"https://api.github.com/users/mmc41/followers","following_url":"https://api.github.com/users/mmc41/following{/other_user}","gists_url":"https://api.github.com/users/mmc41/gists{/gist_id}","starred_url":"https://api.github.com/users/mmc41/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmc41/subscriptions","organizations_url":"https://api.github.com/users/mmc41/orgs","repos_url":"https://api.github.com/users/mmc41/repos","events_url":"https://api.github.com/users/mmc41/events{/privacy}","received_events_url":"https://api.github.com/users/mmc41/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T18:56:30Z","updated_at":"2016-11-03T18:56:30Z","body":"Yes. Fixed in beta 19. Thanks. "}}
{"actor":{"display_login":"mmc41"}}