When I run that I receive the below output with some warning messages:
npm WARN angular-in-memory-web-api@0.6.0 requires a peer of @angular/common@^6.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN angular-in-memory-web-api@0.6.0 requires a peer of @angular/core@^6.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN angular-in-memory-web-api@0.6.0 requires a peer of @angular/http@^6.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN angular-in-memory-web-api@0.6.0 requires a peer of rxjs@^6.0.0-beta.1 but none is installed. You must install peer dependencies yourself.
As we see, the ^6.0.0-rc.0 version is outdated and now we have as latest ^6.3.0.
Please I want to know it's possible to use this dependency with NativeScript, and if possible, I want to know how to use with ~5.2.0 or ^6.3.0 versions of @angular/** dependencies.
Hy, I'm trying to use with
NativeScript
andAngular
.I think it's possible to do that, so I created a discourse about it and I'm trying it in this moment.
The NativeScript discourse link following below:
https://discourse.nativescript.org/t/how-to-mock-http-requests-like-angular-does-as-web/5953
My current dependencies version:
When I run that I receive the below output with some warning messages:
As we see, the
^6.0.0-rc.0
version is outdated and now we have as latest^6.3.0
.Please I want to know it's possible to use this dependency with NativeScript, and if possible, I want to know how to use with
~5.2.0
or^6.3.0
versions of@angular/**
dependencies.