سلام موقع نصب یه خط کامنت میاد که توکن را وارد کنید . و چون توکنی توی داکیومنت ندیدم اینتر کردم و خطا داد و نصب هم نشد (لاراول 11)
- Syncing laravel/pint (v1.18.1) into cache
Cloning failed using an ssh key for authentication, enter your GitHub credentials to access private repos
When working with _public_ GitHub repositories only, head to https://github.com/settings/tokens/new?scopes=&description=Composer+on+mehrjo-i+2024-10-13+1424 to retrieve
a token.
This token will have read-only permission for public information only.
When you need to access _private_ GitHub repositories as well, go to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+mehrjo-i+2024-10-13+1424
Note that such tokens have broad read/write permissions on your behalf, even if not needed by Composer.
For additional information, check https://getcomposer.org/doc/articles/authentication-for-private-packages.md#github-oauth
Token (hidden): اینجا میگه توکن بزن فکر کنم و من اینتر میکنم و بعدش خطا داد
No token given, aborting.
You can also add it manually later by using "composer config --global --auth github-oauth.github.com <token>"
In Git.php line 471:
Failed to execute git clone --mirror -- https://github.com/laravel/pint.git C:/Users/mehrjo/AppData/Local/Composer/vcs/https---github.com-laravel-pint.git/
Cloning into bare repository 'C:/Users/mehrjo/AppData/Local/Composer/vcs/https---github.com-laravel-pint.git'...
error: RPC failed; curl 18 HTTP/2 stream 5 was reset
error: 2081 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
یه مشکل دیگه هم که هست توی لاراول 11 میگه باید توی پوشه بوت استرپ فایل provider بری و خط کد زیر رو بزاری
Barryvdh\Debugbar\ServiceProvider::class,
اینم که بزارم یه خط قرمز برای اخطار زیر ServiceProvider میکشه که انگار نمیشناسه . چو کنم