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.

npm run dev not found

default discord avatar
alnopelast year
3
payload@1.0.0 dev
cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts nodemon

sh: 1: cross-env: not found

  • discord user avatar
    denolfe
    last year

    Ensure that you've run

    yarn install

    .



    cross-env is a dev dependency that should be installed with that command

  • default discord avatar
    alnopelast year

    instll yrn but still the problem

  • discord user avatar
    denolfe
    last year

    The error is saying it is a network issue

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.