Skip to content

@marko/create's default starter app template no longer exists #215

@stephenscaff

Description

@stephenscaff

Environment

create-marko@6.1.1
node v16.17.1
npm 8.18.0


Details

When choosing the "default starter template app" template during @marko/create, I get the error "Example basic does not exist in marko-js/examples."


Actual Behavior

marko/create errors on default starter app template.


Steps to reproduce

1 - run npm init marko

Need to install the following packages:
  create-marko@6.1.1
Ok to proceed? (y) y

2 - Type y to install, then "Type your project name"

3 - Choose Default starter app template

✔ Choose a template · Default starter app

4 - Error:

✖ Example basic does not exist in marko-js/examples.

Error: Example basic does not exist in marko-js/examples.
    at assertExampleExists (.../node_modules/@marko/create/dist/index.js:99:11)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async create (.../node_modules/@marko/create/dist/index.js:54:5)
    at async run (.../node_modules/@marko/create/dist/cli.js:151:9)

Additional Questions

  • Is the marko cli (marko/build, marko/serve) still supported and considered a valid/recommended approach?
  • I've been using marko-vite and feel that's the best path forward for Marko builds / tooling in general. However, I have a need for static builds occasionally, and require a bit more control than ssr-to-html (ie: ensuring all routes are generated without needing front-end links to crawl, removing all unused files).

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions