npm run dev not found

default discord avatar
alnope
2 weeks ago
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
    Payload Team
    2 weeks ago

    Ensure that you've run

    yarn install

    .



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

  • default discord avatar
    alnope
    2 weeks ago

    instll yrn but still the problem

    Captura_desde_2023-09-05_15-17-10.png
    Captura_desde_2023-09-05_15-16-40.png
    Captura_desde_2023-09-05_15-16-15.png
  • discord user avatar
    denolfe
    Payload Team
    2 weeks ago

    The error is saying it is a network 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.