Like what we’re doing? Star us on GitHub!

Error running project

Porfirio
3 weeks ago
4

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.

Captura_de_pantalla_2023-03-01_010003.png
Captura_de_pantalla_2023-03-01_010240.png
  • thgh
    3 weeks ago

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


    npx create-payload-app
    > name
    > js
    > blank
  • denolfe
    Payload Team
    3 weeks 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
  • Porfirio
    3 weeks ago

    I understand, thank you for your help

Open the post
Continue the discussion in Discord
Can't find what you're looking for?
Get help straight from the Payload team with an Enterprise License.Learn More