laravel jetstream installation - laravel

started a laravel project and keep coming across this error during installation.
(base) Sergios-MacBook-Pro:basic yeyo$ composer require laravel/jetstream
[UnexpectedValueException]
Invalid version string "^8.0"
require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-scripts] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] []...
(base) Sergios-MacBook-Pro:basic yeyo$
I'm not sure how to fix this. Any advice will help thanks.

you can try running the command:
composer global update
composer require laravel/jetstream

Related

when i run composer require laravel/ui this command

[Composer\Downloader\TransportException]
Unable to use a proxy: malformed http_proxy url
require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] []...
You can try by deleting http_proxy to navigate this path: Control Panel -> System -> Advanced system settings -> Environment Veriables -> http_proxy.
Then run the command again.
Or You can keep http_proxy as it is and navigate to your project directory(copy the directory path) and past the path over cmd then execute the command again.
Hope that both step will work.
Try this
composer global require laravel/ui

tryin to install laravel clockwork but i have an error which is Install of itsgoingd/clockwork failed

In laravel 8 I am trying to install laravel clockwork where i have php version 8.0.3 When I run
composer require itsgoingd/clockwork
command i got this error
Installing itsgoingd/clockwork (v5.0.8): Extracting archive Install of
itsgoingd/clockwork failed
Installation failed, reverting ./composer.json and ./composer.lock to
their original content.
[UnexpectedValueException]
'C:\xampp\htdocs\test/vendor/composer/tmp-454cb94cbea8cdcf70c06a4e0164fbba'
is not a zip archive.
require [--dev] [--dry-run] [--prefer-source] [--prefer-dist]
[--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install]
[--no-scripts] [--update-no-dev] [-w|--update-with-dependencies]
[-W|--update-with-all-dependencies] [--with-dependencies]
[--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ]
[--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest]
[--sort-packages] [-o|--optimize-autoloader]
[-a|--classmap-authoritative] [--apcu-autoloader]
[--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] []...
Delete The file Composer.lock, Then run this command line:
composer require itsgoingd/clockwork

I am trying to install drush using composer . But facing 'crypto failed to open stream' issue

My composer version is 1.9.0
I am trying to install drush . but got some error.
composer global require drush/drush:dev-master
Output :
Changed current directory to /root/.config/composer
[Composer\Downloader\TransportException] The
"https://repo.packagist.org/packages.json" file could not be
downloaded: Failed to enable crypto failed to open stream: operation
failed
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress]
[--no-suggest] [--no-update] [--no-scripts] [--update-no-dev]
[--update-with-dependencies] [--update-with-all-dependencies]
[--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest]
[--sort-packages] [-o|--optimize-autoloader]
[-a|--classmap-authoritative] [--apcu-autoloader] [--] []...
When I run composer diagnose
Output :

magento 2 We found conflicting component dependencies

Magento is giving me this error while Readiness Check during installing an extension.
Command "update" failed: Loading composer repositories with package information
[Composer\Downloader\TransportException]
The 'https://repo.magento.com/packages.json' URL required authentication.
You must be using the interactive console to authenticate
update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>]...

RuntimeException in composer update

I got error when I do composer update, it says RuntimeException
$ composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Removing mews/purifier (1.0.1)
[RuntimeException]
Could not delete /var/www/myproj.com/protected/vendor/mews/purifier/LICENCE.md:
update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer- lowest] [packages1] ... [packagesN]
does anyone have an idea about my case?

Resources