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.

Error running project

default discord avatar
steprob2 years ago
3

I don't know if it is an isolated case, but when I create a new project with js-blank and run it (npm run dev), it throws an error because it doesn't find the src folder that was not created. Attached are pictures of the console error and the automatically created folder structure, where some folders are missing.

  • default discord avatar
    thgh.2 years ago

    Just tried js->blank and ts->blank and got a working project both times.


    npx create-payload-app
    > name
    > js
    > blank
  • discord user avatar
    denolfe
    2 years ago

    Sounds like you may have an old cached version of create-payload-app. We actually made the decision to remove the JS templates.



    This post might help you out:

    https://github.com/payloadcms/payload/discussions/2013#discussioncomment-4925042
  • default discord avatar
    steprob2 years ago

    I understand, thank you for your help

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.