-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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
Using the compiler API - typescript module experiences internal error #14722
Comments
Seems like a bug within the typescript module, or perhaps the examples are outdated. It doesn't look like I am passing bad input, but if I were, it shouldn't crash like that. |
What I am trying to do: Normally |
looking to bump this one, thanks |
moduleNameResolver.ts line 458 needs to check if if (traceEnabled) {
if (result.resolvedModule) { <---
trace(host, Diagnostics.Module_name_0_was_successfully_resolved_to_1, moduleName, result.resolvedModule.resolvedFileName); |
PRs appreciated. |
Actually, |
Hey all, I am really looking for answers to this related issue any help appreciated |
Hi @ORESoftware, can you still reproduce the original issue? |
@andy-ms let me try it again, I haven't tried to get this to work in more than a month - however if there were a solution to this: then the current issue thread would be obviated. |
@ORESoftware friendly ping |
Give me two days, let me try to reproduce again, thanks |
I am OREsoftware döppelgãngêr |
@ORESoftware ping |
ah yes, I haven't gotten to this, I probably won't anytime soon, can you keep open? if not pls close as needed |
closing for house keeping purposes. please reopen if issue still exists. |
On TS 2.2.1
I am following the instructions here:
https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API
I am getting this error which is occurring within the TS source:
also as an aside, why isn't there any error handling here:
in other words - why do I not see either a try / catch or an error-first callback in your example code?
thanks
The text was updated successfully, but these errors were encountered: