Cannot find module 'react', React/Redux template #1275

Closed
opened 2025-08-09 17:19:31 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @jonorogers on 11/9/2016

Working with the React/Redux template & Visual Studio Professional 2015 Update 3, I get the following errors when editing: "cannot find module 'react'" "cannot find module 'react-router', as well as associated errors like props not being defined.
react-redux-error

All npm dependencies are up to date in the project, dotnet run works fine (although HMR is broken, but that's a separate issue).

I have Microsoft ASP.NET and Web Tools installed from https://visualstudiogallery.msdn.microsoft.com/c94a02e9-f2e9-4bad-a952-a63a967e3935.

Am I missing something in my VS setup?

Can I suggest if pre-requisites are required for a platform, listing them on the Getting Started guide that's linked from this repo? http://blog.stevensanderson.com/2016/05/02/angular2-react-knockout-apps-on-aspnet-core/

*Originally created by @jonorogers on 11/9/2016* Working with the React/Redux template & Visual Studio Professional 2015 Update 3, I get the following errors when editing: "cannot find module 'react'" "cannot find module 'react-router', as well as associated errors like props not being defined. ![react-redux-error](https://cloud.githubusercontent.com/assets/7439429/20135324/14bf946a-a667-11e6-834a-ca3dae29c015.png) All npm dependencies are up to date in the project, dotnet run works fine (although HMR is broken, but that's a separate issue). I have Microsoft ASP.NET and Web Tools installed from https://visualstudiogallery.msdn.microsoft.com/c94a02e9-f2e9-4bad-a952-a63a967e3935. Am I missing something in my VS setup? Can I suggest if pre-requisites are required for a platform, listing them on the Getting Started guide that's linked from this repo? http://blog.stevensanderson.com/2016/05/02/angular2-react-knockout-apps-on-aspnet-core/
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1275
No description provided.