Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install starter kit on Windows 11 #9967

Closed
the-goodies opened this issue Apr 27, 2024 · 2 comments · Fixed by #9968
Closed

Can't install starter kit on Windows 11 #9967

the-goodies opened this issue Apr 27, 2024 · 2 comments · Fixed by #9968

Comments

@the-goodies
Copy link

the-goodies commented Apr 27, 2024

Bug description

Get this error when installing any starter kit using Windows 10 or 11:

In NewCommand.php line 555:

  There was a problem installing Statamic with the chosen starter kit!


new [--dev] [--license [LICENSE]] [--local] [--with-config] [--without-dependencies] [-f|--force] [--] <name> [<starter-kit>]

Also when installing a starter kit into an existing site:

php please starter-kit:install duncanmcclean/sc-starter-kit

 Clear site first? (yes/no) [no]:
 > no

Preparing starter kit [duncanmcclean/sc-starter-kit]...
Starter kit config [starter-kit.yaml] does not exist.

How to reproduce

statamic new my-new-website duncanmcclean/sc-starter-kit

Collections cleared successfully.
Navigations cleared successfully.
Trees cleared successfully.
Taxonomies cleared successfully.
Assets cleared successfully.
Globals cleared successfully.
Forms cleared successfully.
Users cleared successfully.
User groups cleared successfully.
User roles cleared successfully.
Blueprints cleared successfully.
Fieldsets cleared successfully.
Views cleared successfully.
Statamic configs reset successfully.
Preparing starter kit [duncanmcclean/sc-starter-kit]...
Starter kit config [starter-kit.yaml] does not exist.

In NewCommand.php line 555:

  There was a problem installing Statamic with the chosen starter kit!


new [--dev] [--license [LICENSE]] [--local] [--with-config] [--without-dependencies] [-f|--force] [--] <name> [<starter-kit>]

Logs

Empty folder only with .gitignore

Environment

Environment
Application Name: Statamic
Laravel Version: 10.48.9
PHP Version: 8.3.6
Composer Version: 2.7.4
Environment: local
Debug Mode: ENABLED
URL: my-new-website.test
Maintenance Mode: OFF

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: NOT CACHED

Drivers
Broadcasting: log
Cache: statamic
Database: mysql
Logs: stack / single
Mail: smtp
Queue: sync
Session: file

Statamic
Addons: 0
Antlers: runtime
Sites: 1
Stache Watcher: Enabled
Static Caching: Disabled
Version: 4.57.2 Solo

Installation

Starter Kit using via CLI

Antlers Parser

None

Additional details

No response

@duncanmcclean
Copy link
Member

What do you get when you run where composer in your terminal?

@the-goodies
Copy link
Author

the-goodies commented Apr 27, 2024

C:\Users\Gediminas\Herd>where composer
C:\Users\Gediminas\.config\herd\bin\composer.bat
C:\Users\Gediminas\Herd>composer --version
Composer version 2.7.2 2024-03-11 17:12:18
PHP version 8.3.6 (C:\Users\Gediminas\.config\herd\bin\php83\php.exe)
Run the "diagnose" command to get more detailed diagnostics output.
C:\Users\Gediminas\Herd>composer diagnose
Checking platform settings: OK
Checking git settings: OK git version 2.44.0
Checking http connectivity to packagist: OK
Checking https connectivity to packagist: OK
Checking github.com rate limit: OK
Checking disk free space: OK
Checking pubkeys:
Tags Public Key Fingerprint: 57815BA2 7E54DC31 7ECC7CC5 573090D0  87719BA6 8F3BB723 4E5D42D0 84A14642
Dev Public Key Fingerprint: 4AC45767 E5EC2265 2F0C1167 CBBB8A2B  0C708369 153E328C AD90147D AFE50952
OK
Checking Composer version: You are not running the latest stable version, run `composer self-update` to update (2.7.2 => 2.7.4)
Checking Composer and its dependencies for vulnerabilities: OK
Composer version: 2.7.2
PHP version: 8.3.6
PHP binary path: C:\Users\Gediminas\.config\herd\bin\php83\php.exe
OpenSSL version: OpenSSL 3.0.13 30 Jan 2024
cURL version: 8.7.0-DEV libz 1.2.12 ssl OpenSSL/3.0.13
zip: extension present, unzip not available, 7-Zip present (7z)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants