Error running project

default discord avatar
6 months ago

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
    6 months 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
    Payload Team
    6 months 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:
  • default discord avatar
    6 months ago

    I understand, thank you for your help

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!


Connect with the Payload Community on Discord



Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.