Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Problem Deploy Railway Error

default discord avatar
athar36412 years ago
6

Heyo i new to payload cms. and i got a problem when deploying to railway.somebody can help me? i watching tutorial on

https://youtu.be/0XmQE03y5Ek?si=Bvap9jB5z-zyF4sn

but got an error

  • discord user avatar
    denolfe
    2 years ago

    This is a known issue with yarn v1. Here is the current workaround

    https://github.com/payloadcms/payload/issues/4109#issuecomment-1807008645
  • default discord avatar
    aaronksaunders2 years ago

    i just upgraded my yarn version

  • default discord avatar
    pas1c2 years ago

    Hey

    @472381044381712384

    can you try using import instead of require?

  • default discord avatar
    athar36412 years ago

    Its like an yarn problem bro and i think that is the things that can be change normally. But i fixed it when i change my yarn build to npm

  • default discord avatar
    pas1c2 years ago
    @472381044381712384

    Awesome that you managed to solve it buddy! 😅

  • default discord avatar
    athar36412 years ago

    Thanks mate

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.