VulcanJS / Vulcan

🌋 A toolkit to quickly build apps with React, GraphQL & Meteor
http://vulcanjs.org
MIT License
7.98k stars 1.89k forks source link

Example Instagram package seeds error #1608

Open nla-asia opened 7 years ago

nla-asia commented 7 years ago

I am getting this error when I tried to enable example-instagram package for the first time.

TypeError: Cannot read property '_id' of undefined W20170407-08:55:01.526(6.5)? (STDERR) at createPic (packages/example-instagram/lib/server/seed.js:35:13)

it seems the dummy users are not there in db before seeding pictures and so,user object is undefined.

SachaG commented 7 years ago

I just tried, and I didn't notice any errors. Maybe do meteor reset and then try again?

martinhbramwell commented 6 years ago

This is the same as Issue #1669. There is a PR #1769 aimed at fixing it.

monbro commented 6 years ago

I am getting the same error. https://github.com/VulcanJS/Vulcan/pull/1769#issuecomment-358023938 actually solved the bug for me.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.