I am building an angular2 application using angular-cli. angular-in-memory-web-api was not installed by default.
angular2
angular-cli
angular-in-memory-web-api
So I searched
It seems like you are compiling in the node_modules folder, so, in your tsconfig.json (that I presume you have) make sure to set your exclusions for the compiler to ignore:
{ "compileOnSave": true, "compilerOptions": { <...> }, "exclude": [ "node_modules" ] }