mern-starter: Error upon initializing

Love what you guys have done here.

Getting these three errors in browser console when the following is run: npm install -g mern-cli mern test cd test npm install npm start

-Required prop posts was not specified in PostContainer. Check the render method of Connect(PostContainer). -Required prop posts was not specified in PostListView. Check the render method of Connect(PostListView). -Cannot read property ‘map’ of undefined

OSX version: 10.10.5 node version: v4.2.1 npm version: 2.14.7

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

Working fine on my OSX v10.11.3 (15D21). Make sure your mongoDB is up and runnning.

So turns out that while there was incorrect error logging shrouding this issue in OSX Yosemite, the problem was actually that the base route referenced in “actions.js” was hardcoded to be “8000” and did not update when the “port” property in “server/config.js” got updated, fixed in a PR here:

https://github.com/Hashnode/mern-starter/pull/105

😃

@SOSANA in mern-starter we have the script that performs this in one command

img