stelace / heroes-platform-demo

:sparkles: Open-source Web platform built on top of Stelace backend Search, Automation and Real-Time APIs. Empowering super heroes in NYC.
MIT License
18 stars 12 forks source link

issue('Platform 1 does not exist.') coming on yarn seed #450

Closed dsrawat984 closed 8 months ago

dsrawat984 commented 3 years ago

Hi Team,

I am getting this below error when I run the yarn seed in hero-platform-demo deployment.

yarn run v1.22.10
$ node scripts/init-data.js
{
  message: 'Internal Server Error',
  statusCode: 500,
  _stack: [
    'Error: Platform 1 does not exist.',
    '    at getPlatformEnvData (/home/ubuntu/stelace/src/redis.js:191:24)',
    '    at runMicrotasks (<anonymous>)',
    '    at processTicksAndRejections (internal/process/task_queues.js:94:5)',
    '    at async getConnection (/home/ubuntu/stelace/src/models/index.js:96:28)',
    '    at async getModels (/home/ubuntu/stelace/src/models/index.js:142:34)',
    '    at async /home/ubuntu/stelace/src/services/apiKey.js:453:24',
    '    at async newHandler (/home/ubuntu/stelace/src/cote/CustomResponder.js:33:24)'
  ],
  _message: 'Platform 1 does not exist.'
}

Thank you

abruere commented 8 months ago

Hi, did not see your issue sorry. Closing before archiving this project but yarn seed must be run from server-side https://github.com/stelace/stelace. This project is a simple front-end demo.