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

error TS2307: Cannot find module 'rxjs/websocket'. #39

Closed
christiansiewert opened this issue Jul 9, 2018 · 1 comment
Closed

error TS2307: Cannot find module 'rxjs/websocket'. #39

christiansiewert opened this issue Jul 9, 2018 · 1 comment

Comments

@christiansiewert
Copy link

我运行“npm run start”时出错:

ERROR in src/app/component/websocket/websocket.service.ts(16,58): error TS2307: Cannot find module 'rxjs/websocket'.

你知道出了什么问题吗?

最好的问候,
Christian

@christiansiewert
Copy link
Author

christiansiewert commented Jul 9, 2018

Hmm...it was a CamelCase-problem. Are you developing under windows? In src/app/component/websocket/websocket.service.ts:16:

import { WebSocketSubject, WebSocketSubjectConfig } from 'rxjs/web>>s<<ocket';

When changing the s to a UpperCase-letter, it's working like a charm.

Big thanks for this awesome project!

Best,
Christian

stbui added a commit that referenced this issue Jul 25, 2018
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