JavaScriptServices icon indicating copy to clipboard operation
JavaScriptServices copied to clipboard

Reactjs and Redux template's Typings issues

Open mantasmarcinkus opened this issue 8 years ago • 6 comments

Hello everybody,

Issue at hand

I hope i got to the right place. I created a new project image However, It seems that the predefined package.json and typings in it has been messed up somehow. I get several errors in several places image

Reproducability

Just try creating a new project with this template

What I've tried

  • I tried upgrading minor versions of typings and packages. Started with the router, because I thought it might be somewhat guilty for that. However, this did not help.
  • Tried looking for errors, but it did not help, as they are very generic Typescript errors.

It's very hard to pin point where the problem is when you don't know what the project template is using. Can anyone help? Thank you so much in advance

mantasmarcinkus avatar Mar 10 '18 14:03 mantasmarcinkus

I have the same problem (note: I'm using typescript 2.7 installed globally)

feafarot avatar Mar 16 '18 12:03 feafarot

Hi guys, any updates on this? I'm having the same problem.

joalcava avatar Mar 21 '18 23:03 joalcava

Please try our much newer React + Redux template: https://docs.microsoft.com/en-us/aspnet/core/spa/

SteveSandersonMS avatar Mar 23 '18 12:03 SteveSandersonMS

Will this be updated and replaced in new Visual Studio update? Because this issue has to be fixed - it affects all the users of Visual Studio

mantasmarcinkus avatar Mar 23 '18 13:03 mantasmarcinkus

Yes, it is updated and replaced in the ASP.NET Core 2.1 SDK (which is currently in preview). The 2.1 SDK moves to the newer template.

SteveSandersonMS avatar Mar 23 '18 13:03 SteveSandersonMS

@SteveSandersonMS this is not a solution. I got 2.1 SDK and it has a completely different approach. New project template is not using Typescript. What are the reason for ditching Typescript in new React Redux template?

mantasmarcinkus avatar Mar 31 '18 06:03 mantasmarcinkus