statamic / cli

Install and manage your Statamic projects from the command line.
71 stars 19 forks source link

Can't Install Starter Kit locally #77

Open lokmanm opened 3 weeks ago

lokmanm commented 3 weeks ago

This used to work but now when I'm trying to run:

statamic new --with-config --local landtamic lucky-media/landtamic 

And yes I do have the global config updated to:

{
    "repositories": [
        {
            "type": "path",
            "url": "/Users/Sites/landtamic"
        }
    ]
}

When I run the command it still prompts me for a license.

robdekort commented 3 weeks ago

It should be statamic new lucky-media/landtamic --local --with-config. Without the double landtamic :-).

lokmanm commented 3 weeks ago

Hey Rob!

Now I get:

Starter kit is required when using `--local` option!
robdekort commented 3 weeks ago

That's so weird, look at this:

Screenshot 2024-07-10 at 15 33 39

Are you sure your /Users/Sites/landtamic contains a composer.json:

{
    "name": "lucky-media/landtamic",
    "extra": {
        "statamic": {
            "name": "Title",
            "description": "Description"
        }
    }
}
lokmanm commented 3 weeks ago

@robdekort yep I have all that. I think its failing because of the license check. It works for me for our free starter kit, but fails for the paid ones.

robdekort commented 3 weeks ago

Ehmmm, ok, no experience there I'm afraid.