cross-env not found

default discord avatar
generator101
3 months ago
4

Every time I try to deploy Payload new project to production, I keep getting this error that

cross-env

not found.


This is usually resolved by adding production false to installation,

yarn install --production=false

.



Has anyone else faced this issue?

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!

Star

Connect with the Payload Community on Discord

Discord

online

Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.