-
Notifications
You must be signed in to change notification settings - Fork 63
Cannot find imported modules (Angular) #43
Comments
Looks like it can find all the other npm packages that I use in my Angular projects, so my guess would be that it's something to do with scoped npm packages. For now, I'll have to switch back to |
I met the same problem. What's more, it also reports that some file is not a module but actually the file is module. And some “property does not exist on value of type” errors. Consider such situation:
However, atom-typescript doesn't report those errors. |
In the case of that second project I just realized that the
|
There is definitely a 1-to-1 mapping between the folder you open in Atom and the folder the language server takes as it's initial project folder. Does it work if you open |
There's all sorts of issues to consider when we do this;
I suspect this is going to be a per-ide-package process we have to consider and whether there is a combination that will satisfy the majority of people (and how do we handle the less popular scenarios) |
Nothing yet on this one? |
So I imagine Only send the The only potential downside I see to this approach is that it would prevent users from seeing errors from files in a different |
Any updates on this? |
I have this problem when opening atom with I would expect both to have the same outcome. |
There should be a work-around for this in the next update: #55 (comment) With that update you can disable the warnings from this plugin and use the old |
My understanding is that in order to fix this issue Is this a large fix? Why can it not be included in the next release? Will existing projects suffer from this change? I also feel that the above work-around does not address the issue. I did not install |
Fully agree with you @BrianDGLS |
@BrianDGLS it addresses the issue by providing a band-aid means to achieve the same end result (accurate TS warnings in your I'm not very familiar with the language server, but it appears to be designed to be used in a way where everything gets loaded initially (e.g. upon opening a project in your editor) rather than on-the-fly loading and unloading on-demand, there may be some changes required upstream to support this use case for TS if it doesn't play nicely with this more "lazy" strategy of providing context. |
Have there been any language server or |
Disabling and re-enabling both |
Possibly fixed by this? |
@tylerFowler That fix was merged June 3 2017. This issue is more recent than that. |
This project is using an older version of the upstream server so that fix
night work. This needs to be bumped from 2.7.0 to 2.9.3
…On Wed, Jun 13, 2018, 12:32 AM Brian Douglas ***@***.***> wrote:
@tylerFowler <https://github.com/tylerFowler> That fix was merged June 3
2017. This issue is more recent than that.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#43 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAHQp882UsuDICI-57T1CQbQi0TKc4H1ks5t8MASgaJpZM4Pint8>
.
|
I'll take a look at getting the TypeScript language server dependency updated this week |
This comment has been minimized.
This comment has been minimized.
Possibly fixed with the new ide-typescript 0.8.0 update - let us know. |
No change for me. |
but.. without that you're not able to see the linter errors in real time..right? is there no solution to this already? |
Opening up a new Angular application, created with the Angular CLI causes many Diagnostic messages saying it can't find any of the modules -
@angular/core
,@angular/platform-browser
, etc.The text was updated successfully, but these errors were encountered: