payloadcms/public-demo

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

vdiaz1130 opened this issue · 0 comments

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