#Issues Deploying Payload 3 (Beta) App

12 messages · Page 1 of 1 (latest)

atomic kettle
#

Hi, guys,
Currently, I have been developing a Payload 3 application. I've been trying to deploy it, but I'm facing many problems.
If anyone knows how to deploy a Payload 3 (beta) app, any help would be appreciated. Or if someone knows whether it's not possible because it's still in beta, that information would also be helpful.

placid sorrel
#

It's possible, of course. 🙂 Can you give me details on what kind of errors?

red mountain
atomic kettle
#

i'm trying to deploy in vercel

#

This is the error

#

I think the scripts in package.json are not configured correctly

#

Esto es lo que tengo en el package.jason

  "scripts": {
    "build": "cross-env NODE_OPTIONS=--no-deprecation next build",
    "dev": "cross-env NODE_OPTIONS=--no-deprecation next dev",
    "dev:prod": "cross-env NODE_OPTIONS=--no-deprecation rm -rf .next && pnpm build && pnpm start",
    "generate:importmap": "cross-env NODE_OPTIONS=--no-deprecation payload generate:importmap",
    "generate:types": "cross-env NODE_OPTIONS=--no-deprecation payload generate:types",
    "ii": "cross-env NODE_OPTIONS=--no-deprecation pnpm --ignore-workspace install",
    "lint": "cross-env NODE_OPTIONS=--no-deprecation next lint",
    "lint:fix": "cross-env NODE_OPTIONS=--no-deprecation next lint --fix",
    "payload": "cross-env NODE_OPTIONS=--no-deprecation payload",
    "reinstall": "cross-env NODE_OPTIONS=--no-deprecation rm -rf node_modules && rm pnpm-lock.yaml && pnpm --ignore-workspace install",
    "start": "cross-env NODE_OPTIONS=--no-deprecation next start"
  },
red mountain
pliant plume
#

Seems like a package you're installing isn't happy with the version of React you're using.

You can force npm to ignore peer dependency conflicts if you think it's fine with npm install --legacy-peer-deps.

You'll need to update the install command in your Vercel project settings.

#

But obviously have to be careful doing this in production

pliant plume
#

@atomic kettle did you manage to fix this?