You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a TypeScript project and it is working fine in the above location. But, compilation failed while we move the project to any other location.
Any idea to configure this?
The text was updated successfully, but these errors were encountered:
jesusarockias
changed the title
TypeScript Compilation failed in other than
TypeScript Compilation failed in other than "C:\Users\${username}\source\repos\${projectname}"
May 17, 2021
I have been testing this issue and don't see the problem in general. I can create a project anywhere on my hard drive and it works, and I can move it and it still works.
One issue I did see was that if you move the project into a folder with a node_modules folder somewhere in the path it can refuse to compile. This issue has been fixed in the latest release, today. The issue arose because Visual Studio can get confused about whether setInterval is a node or a browser function. It's meant to be a browser function, and that has been made explicit in the latest release.
If you can provide more information after all this time I will investigate further, but otherwise I will close this.
I have created a TypeScript project and it is working fine in the above location. But, compilation failed while we move the project to any other location.
Any idea to configure this?
The text was updated successfully, but these errors were encountered: