coryhouse / pluralsight-redux-starter

Completed Dev Environment for "Building Applications with React and Redux" on Pluralsight
https://app.pluralsight.com/library/courses/react-redux-react-router-es6/
1.27k stars 912 forks source link

Chapter 9 - Redux Flow #103

Closed mayankanup closed 5 years ago

mayankanup commented 5 years ago

Wait, try this first...

Before opening an issue, please try these things first.

If that list doesn't help you fix the problem, fill out the info below.

Node version: 8.9.3

npm version: 6.4.1

Operating system: Windows 10

Command line used: npm start -s and then went to course page

Steps to reproduce: I have completed all the steps mentioned in chapter 9 and went ahead to try saving a course. But the course page didn't load and in console i see following error. Please help me fix it. I have attached archive of src dir. src.zip

CoursesPage.js:34 Uncaught TypeError: Cannot read property 'map' of undefined at CoursesPage.render (CoursesPage.js:34) at CoursesPage.tryRender (index.js:34) at CoursesPage.proxiedMethod (createPrototypeProxy.js:44) at ReactCompositeComponentWrapper._renderValidatedComponentWithoutOwnerOrContext (ReactCompositeComponent.js:687) at ReactCompositeComponentWrapper._renderValidatedComponent (ReactCompositeComponent.js:707) at ReactCompositeComponentWrapper.wrapper [as _renderValidatedComponent] (ReactPerf.js:66) at ReactCompositeComponentWrapper.performInitialMount (ReactCompositeComponent.js:291) at ReactCompositeComponentWrapper.mountComponent (ReactCompositeComponent.js:222) at ReactCompositeComponentWrapper.wrapper [as mountComponent] (ReactPerf.js:66) at Object.mountComponent (ReactReconciler.js:39)

coryhouse commented 5 years ago

Hi - Can you please post to the course discussion instead? I handle course issues there. Also, please post a link to a GitHub repo instead of a zip. Thanks!