Can't Install Starter Kit locally
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.
It should be statamic new lucky-media/landtamic --local --with-config. Without the double landtamic :-).
Hey Rob!
Now I get:
Starter kit is required when using `--local` option!
That's so weird, look at this:
Are you sure your /Users/Sites/landtamic contains a composer.json:
{
"name": "lucky-media/landtamic",
"extra": {
"statamic": {
"name": "Title",
"description": "Description"
}
}
}
@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.
Ehmmm, ok, no experience there I'm afraid.
This used to work
Did you publish the package? It used to work for me before I published. Internally statamic checks if they can find the package on the marketplace.
I've just come across this. Went down the rabbit hole and it looks like just doing a simple check to see if the --local flag is input isn't really secure. In the end, it still uses composer require and there isn't a composer command to only install from a local package.
I'm having to flip my package name just to test which isn't ideal