Issues with installing Statamic from cli - Windows


When installing with command: statamic new my-site statamic/starter-kit-cool-writings. I get the response -> "In NewCommand.php line 515:

Cannot connect to [] to validate license!"

When trying to install blank site with command: statamic new my-site (and option 0 for blank). I get the response:

"Created project in C:\statamic\my-site

@php -r "file_exists('.env') || copy('.env.example', '.env');" Class Statamic\Console\Composer\Scripts is not autoloadable, can not call pre-update-cmd script Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.

Problem 1 - laravel/framework[v8.12.0, ..., 8.x-dev] require league/flysystem ^1.1 -> satisfiable by league/flysystem[1.1.0, ..., 1.x-dev]. - league/flysystem[1.1.0, ..., 1.x-dev] require ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension. - laravel/framework[v8.0.0, ..., v8.11.2] require php ^7.3 -> your php version (8.0.10) does not satisfy that requirement. - Root composer.json requires laravel/framework ^8.0 -> satisfiable by laravel/framework[v8.0.0, ..., 8.x-dev].

To enable extensions, verify that they are enabled in your .ini files: - C:\php\php.ini You can also run php --ini inside terminal to see which files are used by PHP in CLI mode."

I´m not familiar with PHP environment yet, so I beg for some guidance if I´m actually missing some type of extensions, and if so how do I add/install them.

Thanks in advance!

>>>>>>> Unanswered <<<<<<<
1 Reply
1 Follower