mercur icon indicating copy to clipboard operation
mercur copied to clipboard

Seed problem

Open inluxc opened this issue 1 year ago • 2 comments

I getting the following error:

TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
    at __values (/home/fulvio/Projects/*****/marketplace/api/node_modules/@medusajs/medusa/dist/commands/seed.js:73:72)
    at /home/fulvio/Projects/*****/marketplace/api/node_modules/@medusajs/medusa/dist/commands/seed.js:455:54
    at step (/home/fulvio/Projects/*****/marketplace/api/node_modules/@medusajs/medusa/dist/commands/seed.js:67:23)
    at Object.next (/home/fulvio/Projects/*****/marketplace/api/node_modules/@medusajs/medusa/dist/commands/seed.js:48:53)
    at fulfilled (/home/fulvio/Projects/*****/marketplace/api/node_modules/@medusajs/medusa/dist/commands/seed.js:39:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:

inluxc avatar May 15 '24 12:05 inluxc

on seed.json file, create a product:[], this must fix it.

image

JuanEliasJabib02 avatar May 15 '24 14:05 JuanEliasJabib02

duplicate of closed #2

cwierzbicki00 avatar May 15 '24 16:05 cwierzbicki00