-
Notifications
You must be signed in to change notification settings - Fork 12.8k
VS2015 "Error executing script" when typing import statement #11462
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
Thanks for reporting this. the error window is shown because you have enabled devMode at some point. if you feel these errors are in your way, you can disable it and the errors will be reported silently without the popup. |
looks related to completion in imports recent changes. @aozgaa can you take a look. |
Hey @nippur72 , I'm having trouble reproducing this issue. Can you post a more detailed repro? In particular, what does the directory structure look like? |
@aozgaa opening the project on a different machine (same OS, VS and TS) does not give the error, so it must be something related to that particular machine, but I have no clue where to look for. Do you want me to try a fresh install of VS ? Regarding the directory structure, the only strange thing is that
|
I wasn't able to reproduce the issue using commit 31a55e6 of TypeScript on VS 2015 Update 3 with TypeScript 2.0 Beta installed (I enabled dev mode and pointed VS towards my local build of TypeScript). If the problem persists on the same machine after pulling the latest version of TS off master and building, let me know an I will look into this further. |
@aozgaa more clues: If I use TS 2.0.3
there is no error. But if I switch to nightly drops:
the error is back. (The powershell command is from here). |
So just to clarify for those of us that want to develop without that error popping up every time we write an import statement, which is the appropriate course of action? remove the latest version of TS for Visual and install v2.0.3 (worked) I did the easy one and switched back to version 2.0.3 which seems to have stopped the issue for now but I worry that I'll be missing out on some important update that occurred since then... and there's no guarantee that I'll be able to update upon the next versioning |
Switching off DevMod as noted earlier should make the pop up go away. |
Still unable to repro. Would be happy to look into again this if you could link to a (minimal) reproducing project. |
TypeScript Version: typescript@2.1.0-dev.20161008
Visual Studio: VS2015CE Update 3
Code
Actual behavior:

When typing the dot
.
at line 1, the following error window appears in visual studio:The text was updated successfully, but these errors were encountered: