Open erdemildiz opened 8 years ago
For me, the problem was my old angular-cli version :
npm uninstall -g angular-cli
npm cache clean / npm cache verify npm
install -g @angular /cli@latest npm install
and this one is to update your local project version:
rm -rf node_modules
npm uninstall --save-dev @angular/cli@latest
npm install
try also to install again rxjs and rxjs-compat
For me, the problem was my old angular-cli version :
npm uninstall -g angular-cli npm cache clean / npm cache verify npm install -g @angular /cli@latest npm install
and this one is to update your local project version:
rm -rf node_modules npm uninstall --save-dev @angular/cli@latest npm install
try also to install again rxjs and rxjs-compat
I did exactly the same! .. and issue`s gone!!!
I getting "An implementation cannot be declared in ambient contexts." error while I am trying to use IONIC. I changed import url like below.
import {Injectable, Inject, Optional} from '@angular/core'; import {Http, Headers, Response, Request} from '@angular/http';