aspnet / JavaScriptServices

[Archived] This repository has been archived
Apache License 2.0
3.03k stars 518 forks source link

VS 2015 vs dotnet run #232

Closed Knaackee closed 8 years ago

Knaackee commented 8 years ago

I use the ReactRedux Template.

If i start the app using dotnet run it starts, listen on port 5000 and everything (javascript) works as expected.

However, if i start using Visual Studio 2015 it listens on another port and the javascript does not work. The Chrome Dev Tools says "Uncaught Error: Cannot find module "./ClientApp/boot-client.tsx".

Knaackee commented 8 years ago

There was a problem. I used the repo and did a mistake setting it up. After using the generator it works.

odinnix commented 8 years ago

What was the issue? I'm having the exact same problem using the generator.

Edit - so I figured this out I think. Installing react-transform and react-transform-hmr on a project level got it working.