Javascript not created from Typescript

I am building an Aurelia application using Visual Studio 2015 and Typescript. I am using ASP.NET Core 1.0 R2.

Until yesterday, when I compiled my application, .js files were generated and appeared immediately after the .ts files (see image).

enter image description here

I did something yesterday when they stopped being generated, and I have no idea what I did. I am learning Typescript, so I am not familiar enough with this to know where to look. The only results I got on the Internet told me that the .js files were created in the appBundle.js file, but I think this is old information, because it was not the behavior that I observed until yesterday, and my application Aurelia does not work, it says that it cannot find .js files.

Can someone shed some light on what I need to do to create the .js files again?

UPDATE:

I deleted the app.html and app.ts files and recreated them, and then rebuilt the project, and .js files suddenly appeared, and now my application is working fine.

enter image description here

I don’t know why this fixed the problem, there may be a mistake.

Does anyone have an understanding?

+4
source share
1 answer

I think the typescript controller no longer compiles your files .tsbecause you have an error in your file app.ts.

It depends on your settings with the typescript compiler (tsconfig file)

+3
source

All Articles