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

Invalid module name in augmentation, module '../../Observable' cannot be found #1786

Closed
giorgiopiatti opened this issue Jun 26, 2016 · 4 comments

Comments

@giorgiopiatti
Copy link

version: 5.0.0-beta.6
When try to debug a ionic 2 app the debugger show me that error : Invalid module name in augmentation, module '../../Observable' cannot be found. on

\node_modules\rxjs\add\observable\bindCallback.d.ts line 2 and in all the file where is:
declare module '../../Observable' {
  ...... {
       .....
    }
)



@kwonoj
Copy link
Member

kwonoj commented Jun 26, 2016

Would you able to share what version of typescript compiler do you use as well as which debugger? Also it'd be appreciate if you can share small repo to repro issue.

@kwonoj
Copy link
Member

kwonoj commented Jun 27, 2016

Without having additional detail, I think this is related to module augumentation feature introduced at typescript@1.8. If you could verify debugger configuration and it's using older version, please try to bump up it. As similar to #1696, lot of different IDE / debugger might have its own configuration of compiler not using local npm tsc module / or global npm module.

@kwonoj
Copy link
Member

kwonoj commented Jul 8, 2016

Let me close this issue as I currently believe this can be resolved by compiler configuration. Please fell freely reopen / create new issue if there's problem persists, it'd be appreciate to provide small repo to reproduce issue.

@lock
Copy link

lock bot commented Jun 7, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants