payloadcms / public-demo

The official public demo for Payload
https://demo.payloadcms.com
152 stars 74 forks source link

The requested resource was not found when running `yarn dev` #35

Open vdiaz1130 opened 10 months ago

vdiaz1130 commented 10 months ago

I've been trying to get this to work for several hours now with no luck. Getting the following error when running yarn dev

Error updating global header: NotFound: The requested resource was not found.
    at findByID (/projects/payload-app/public-demo/node_modules/payload/src/collections/operations/findByID.ts:114:15)
    at processTicksAndRejections (node:internal/process/task_queues:95:5) {
  data: null,
  isOperational: true,
  isPublic: false,
  status: 404
}
NotFound: The requested resource was not found.
    at findByID (/projects/payload-app/public-demo/node_modules/payload/src/collections/operations/findByID.ts:114:15)
    at processTicksAndRejections (node:internal/process/task_queues:95:5) {
  data: null,
  isOperational: true,
  isPublic: false,
  status: 404
}
Error updating global settings: NotFound: The requested resource was not found.
    at findByID (/projects/payload-app/public-demo/node_modules/payload/src/collections/operations/findByID.ts:114:15)
    at processTicksAndRejections (node:internal/process/task_queues:95:5) {
  data: null,
  isOperational: true,
  isPublic: false,
  status: 404
}

To reproduce:

  1. clone repo
  2. update .env file to include your DB
  3. run yarn dev