-
-
Notifications
You must be signed in to change notification settings - Fork 589
"Invalid module name in augmentation" errors with VS2015 #81
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
Comments
Hello, check the version of RxJS that you use, is it beta 2 ? |
I use rxjs 5.0.0-beta.4 |
Ok, that's the problem, Angular 2 has a dependency for beta 2, fix the version to that and it should be ok. |
It works well with beta2. Thank you very much! |
No problem :) |
This has popped back up. I noticed beta 17 asking for [email protected]. npm ERR! peerinvalid Peer [email protected] wants [email protected] And when I upgraded, I received this same error. |
Well I removed the peer dependency to RxJS from ng2-translate (I required angular 2 which require RxJS), so this problem is not on this lib. |
@Phatsuo Did you solve this problem. I am having the same. It is not related to ng2-translate. |
Good day!
When trying to link ng2-translate to my TypeScript-application an errors rises in Microsoft VisualStudio2015:
TS2664 Invalid module name in augmentation, module '../../Observable' cannot be found. \node_modules\rxjs\add\observable\of.d.ts 2
TS2664 Invalid module name in augmentation, module '../../Observable' cannot be found. \node_modules\rxjs\add\observable\map.d.ts 2
TS2664 Invalid module name in augmentation, module '../../Observable' cannot be found. \node_modules\rxjs\add\observable\merge.d.ts 2
TS2664 Invalid module name in augmentation, module '../../Observable' cannot be found. \node_modules\rxjs\add\observable\share.d.ts 2
TS2664 Invalid module name in augmentation, module '../../Observable' cannot be found. \node_modules\rxjs\add\observable\toArray.d.ts 2
I use Typescript 1.8, ng2-translate 1.11.0, angular 2.0.0-beta.13
Help please!
The text was updated successfully, but these errors were encountered: