question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 7 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
giacomodeliberalicommented, Aug 22, 2016

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 in task/run.ts the prop baseDir 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 you

5reactions
EisenbergEffectcommented, Aug 22, 2016

You can ignore anything in the aurelia_project folder. That is all handled by the Aurelia CLI itself.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found