Closed DrazenMatijacic closed 8 months ago
rm -rf yarn.lock node_modules && yarn
helped when I ran into the same thing with the draft-preview example (changing it to use postgres too)
I tested on latest packages and I am not seeing this error. As Kasbah mentioned, delete the yarn.lock and node_modules to see if that clears it up after a fresh install.
Feel free to tag me if you still have any troubles and I will reopen this issue. Thanks!
My understanding of it was that the yarn.lock in the examples needs to be refreshed in this repo.
I can confirm removing yarn.lock has resolved the issue.
Kind regards, Drazen
On Wed, Feb 21, 2024 at 1:22 PM Kaspar Emanuel @.***> wrote:
My understanding of it was that the yarn.lock in the examples needs to be refreshed in this repo.
— Reply to this email directly, view it on GitHub https://github.com/payloadcms/payload/issues/5011#issuecomment-1956535390, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2O2N67A4GNCSKDCD7UXK4TYUXRJHAVCNFSM6AAAAABC4O23RKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJWGUZTKMZZGA . You are receiving this because you authored the thread.Message ID: @.***>
For the people experiencing this error straight out of the template:
payload
- 2.0.0 -> 2.19.3 in my casenode_modules
and package-lock.json
/ yarn.lock
/ pnpm-lock.yaml
@DanRibbens maybe it would make sense to update dependencies in the create-payload-app
templates?
they seem to be broken out of the box which is a bit frustrating
This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.
Link to reproduction
Configure as documented to use postgres and r
Describe the Bug
Configure as postgres, yarn && yarn dev
To Reproduce
In package,json:
In payload.config.ts:
and
and in .env:
and postgres:
Please note that multitenant app works as expected.
Payload Version
main
Adapters and Plugins
db-postgres