Payload cloud - Initial deployment fails if I use npm

default discord avatar
febba
4 months ago

If I deploy a repo with "package-lock.json" it throws this Yarn error:



Running custom build command: yarn build


bash: yarn: command not found


building: exit status 127


ERROR: failed to build: exit status 1



Can you tell me why?

    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.