ASP.NET Core - Typescript: Missing modules
See original GitHub issue- Windows 10
- Node 6.4.0
- NPM 3.10.6
- Typescript
I’ve just created a new ASP NET Core application with Visual Studio 2015 Update 3.
After that I’ve typed in the .xproj folder:
au new --here
and followed all the steps. It gives me no errors.
Now reloading code from VS and looking into, for example, run.js
all the modules import are missing: Cannot find module ...
.
If I try to execute au run
i got no errors, but the default address localhost:9000
says cannot /GET
.
How can i resolve the imports errors? Am I missing some .d.ts or something else?
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Importing Typescript modules in ASP.NET Core 2.2 app
I am trying to perform a simple Import of one Typescript file into another Typescript file within an ASP.NET Core ...
Read more >Add TypeScript to an ASP.NET Core project | by Darren Neimke
In this article, I'll walk through the steps it takes to add TypeScript to an ASP.NET Core project. You can follow along by...
Read more >Create an ASP.NET Core app with TypeScript - Visual Studio
In this tutorial, you create an app using ASP.NET Core and TypeScript.
Read more >Documentation - ASP.NET Core - TypeScript
Using TypeScript in ASP.NET Core. ... NET Core in the project search bar; Select ASP.NET Core Web ... Open Dependencies > Manage NuGet...
Read more >Multi-page ASP.NET Core, TypeScript, and ES JavaScript ...
If you have controls that call JavaScript functions on your web page, they will no longer work unless you import them. That is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I cannot ignore the aurelia_project because the file
aurelia.json
is used by the cli during the build and run tasks.We found the solution to resolve the
cannot /GET
issue: just modify intask/run.ts
the propbaseDir
from.
to./wwwroot
.Now we are trying to migrate from JSPM to aurelia-cli to reach the Edge support, but all the references are broken. Is there a good way to update quickly (and maybe not by hand) the
aurelia.json
? Or have we got to go reference by reference and update manually the file? Thank youYou can ignore anything in the aurelia_project folder. That is all handled by the Aurelia CLI itself.