Skip to content

Help with setting up content to populate #156

Answered by pkosiec
listguy asked this question in Q&A
Discussion options

You must be logged in to vote

From what I can see you have totally different content from what is described in the documentation here.

You wrote:

seeder.readCollectionsFromPath(path.resolve("./seeds/tickets"), ...)

But in fact you should point to ./seeds:

seeder.readCollectionsFromPath(path.resolve("./seeds"), ...)

Collections are represented by directories. Also, the tickets.json has invalid content. See the document I linked above to fix it.

Closing it for now as it works as described in docs. If it won't work, please write a comment here and I can reopen it 🙂 However, please double check you followed the official guides first. Cheers!

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@pkosiec
Comment options

@listguy
Comment options

@pkosiec
Comment options

@listguy
Comment options

@pkosiec
Comment options

Answer selected by listguy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #156 on March 21, 2021 18:43.