Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

报错处理之 -- 关于Observable、map的问题 #32

Open
deepthan opened this issue Feb 26, 2018 · 0 comments
Open

报错处理之 -- 关于Observable、map的问题 #32

deepthan opened this issue Feb 26, 2018 · 0 comments

Comments

@deepthan
Copy link
Owner

deepthan commented Feb 26, 2018

Property 'map' does not exist on type 'Observable<Response>'
或
Argument of type 'Observable<Response>' is not assignable to parameter of type 'Observable<Response>'

先把cnpm下载的rxjs删除

npm uninstall  --save rxjs

再用npm下载rxjs:

npm install --save rxjs@latest

这里推荐使用 yarn替代npm下载依赖包,地址 :yarn用法
npm 的版本是4.1.2
@ angualr/cli 版本是 1.3.2
node版本是 7.7.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant