I just created a new Payload 3.0.0 project with all the instructions from the official website but this is what i get when i run the app
i have tried deleting the pnpm-lock.yaml and node modules and reinstalling but still the same results
this is weird I just installed a fresh one and it's working
how did you create your application did you use
pnpx create-payload-app@beta if yes
run this command inside the project
pnpm payload infocheck the versions you're using node , pnpm , payload etc
$ pnpm payload info
> store-emeka@1.0.0 payload C:\ModernDev\store-emeka
> cross-env NODE_OPTIONS=--no-deprecation payload "info"
Binaries:
Node: 22.8.0
npm: N/A
Yarn: N/A
pnpm: 9.7.0
Relevant Packages:
payload: 3.0.0-beta.133
next: 15.0.0
@payloadcms/db-postgres: 3.0.0-beta.133
@payloadcms/email-nodemailer: 3.0.0-beta.133
@payloadcms/graphql: 3.0.0-beta.133
@payloadcms/live-preview: 3.0.0-beta.133
@payloadcms/live-preview-react: 3.0.0-beta.133
@payloadcms/next/utilities: 3.0.0-beta.133
@payloadcms/payload-cloud: 3.0.0-beta.133
@payloadcms/plugin-form-builder: 3.0.0-beta.133
@payloadcms/plugin-nested-docs: 3.0.0-beta.133
@payloadcms/plugin-redirects: 3.0.0-beta.133
@payloadcms/plugin-search: 3.0.0-beta.133
@payloadcms/plugin-seo: 3.0.0-beta.133
@payloadcms/richtext-lexical: 3.0.0-beta.133
@payloadcms/translations: 3.0.0-beta.133
@payloadcms/ui/shared: 3.0.0-beta.133
react: 19.0.0-rc-65a56d0e-20241020
react-dom: 19.0.0-rc-65a56d0e-20241020
Operating System:
Platform: win32
Arch: x64
Version: Windows 11 Pro
Available memory (MB): 8044
Available CPU cores: 4I tried to change my node to your version and it's working
try to update pnpm itself
pnpm self-updatedelete node-module , .next , package.lock
and re-install dependencies
alright
same thing
I think I'll try it later in wsl
Since it's complaining about compiling a file inside your node_modules, I think you can fix this error by setting
"skipLibCheck": true,in your tsconfig.json
Heh, it was already set in the projects tsconfig
Seems to work in WSL
Star
Discord
online
Get dedicated engineering support directly from the Payload team.