Closed yuliya-d98 closed 1 week ago
While running "pnpm seed" in Chapter 6 I've got this error:
In placeholder-data.js file in 89 row we are trying to get customers[7].id, but customers array's length is 7, so last element is customers[6]
Purposed solution: Replacing customers[7].id with customers[6].id
Fixed here https://github.com/vercel/next-learn/pull/764.
While running "pnpm seed" in Chapter 6 I've got this error:
In placeholder-data.js file in 89 row we are trying to get customers[7].id, but customers array's length is 7, so last element is customers[6]
Purposed solution: Replacing customers[7].id with customers[6].id