من زمانی که پکیجی رو نصب میکنم این ارور رو میده
composer require tecnick.com/tcpdf:۶.۲.۲۶ -n --no-progress --no-interaction
Cannot create cache directory /home/netwons/.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /home/netwons/.composer/cache/files/, or directory is not writable. Proceeding without cache
Cannot create cache directory /home/netwons/.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache
./composer.json has been updated
Cannot create cache directory /home/netwons/.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /home/netwons/.composer/cache/files/, or directory is not writable. Proceeding without cache
Cannot create cache directory /home/netwons/.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem ۱
Installation request for barryvdh/laravel-dompdf ۰.۵.x-dev -> satisfiable by barryvdh/laravel-dompdf[۰.۵.x-dev].
Conclusion: remove laravel/framework v۵.۷.۱۴
Conclusion: don't install laravel/framework v۵.۷.۱۴
barryvdh/laravel-dompdf ۰.۵.x-dev requires illuminate/support ۵.۰.x|۵.۱.x -> satisfiable by illuminate/support[۵.۰.x-dev, ۵.۱.x-dev, v۵.۰.۰, v۵.۰.۲۲, v۵.۰.۲۵, v۵.۰.۲۶, v۵.۰.۲۸, v۵.۰.۳۳, v۵.۰.۴, v۵.۱.۱, v۵.۱.۱۳, v۵.۱.۱۶, v۵.۱.۲, v۵.۱.۲۰, v۵.۱.۲۲, v۵.۱.۲۵, v۵.۱.۲۸, v۵.۱.۳۰, v۵.۱.۳۱, v۵.۱.۴۱, v۵.۱.۶, v۵.۱.۸].
don't install illuminate/support ۵.۱.x-dev|don't install laravel/framework v۵.۷.۱۴
don't install illuminate/support v۵.۱.۱|don't install laravel/framework v۵.۷.۱۴
don't install illuminate/support v۵.۱.۱۳|don't install laravel/framework v۵.۷.۱۴
don't install illuminate/support v۵.۱.۱۶|don't install laravel/framework v۵.۷.۱۴
don't install illuminate/support v۵.۱.۲|don't install laravel/framework v۵.۷.۱۴
don't install illuminate/support v۵.۱.۲۰|don't install laravel/framework v۵.۷.۱۴
don't install illuminate/support v۵.۱.۲۲|don't install laravel/framework v۵.۷.۱۴
don't install illuminate/support v۵.۱.۲۵|don't install laravel/framework v۵.۷.۱۴
don't install illuminate/support v۵.۱.۲۸|don't install laravel/framework v۵.۷.۱۴
don't install illuminate/support v۵.۱.۳۰|don't install laravel/framework v۵.۷.۱۴
don't install illuminate/support v۵.۱.۳۱|don't install laravel/framework v۵.۷.۱۴
don't install illuminate/support v۵.۱.۴۱|don't install laravel/framework v۵.۷.۱۴
don't install illuminate/support v۵.۱.۶|don't install laravel/framework v۵.۷.۱۴
don't install illuminate/support v۵.۱.۸|don't install laravel/framework v۵.۷.۱۴
don't install illuminate/support ۵.۰.x-dev|don't install laravel/framework v۵.۷.۱۴
don't install illuminate/support v۵.۰.۰|don't install laravel/framework v۵.۷.۱۴
don't install illuminate/support v۵.۰.۲۲|don't install laravel/framework v۵.۷.۱۴
don't install illuminate/support v۵.۰.۲۵|don't install laravel/framework v۵.۷.۱۴
don't install illuminate/support v۵.۰.۲۶|don't install laravel/framework v۵.۷.۱۴
don't install illuminate/support v۵.۰.۲۸|don't install laravel/framework v۵.۷.۱۴
don't install illuminate/support v۵.۰.۳۳|don't install laravel/framework v۵.۷.۱۴
don't install illuminate/support v۵.۰.۴|don't install laravel/framework v۵.۷.۱۴
Installation request for laravel/framework (locked at v۵.۷.۱۴, required as ۵.۷.*) -> satisfiable by laravel/framework[v۵.۷.۱۴].
Installation failed, reverting ./composer.json to its original content.```
الان این ارور رو میده
Installation failed, reverting ./composer.json to its original content.
مشکل کجاس میشه راهنمایی کنید
@Alimotreb
میشه با کد بگید؟
چون همه اینها رو من انجام دادم شاید نکته ای هست که من فراموش کردم خواهشن با کد بگید
@Alimotreb
همون ارور قبلی
Installation failed, reverting ./composer.json to its original content.
سلام دوباره
@masoudproton
composer.json رو با notepad باز کنید
اون پکیج مورد نظر رو از توش بردارید و حذف کنید
از پوشه vendor هم اگر چیزی به اسمش هست پاک کنید و مجدد تست بگیرید
احتمالا چون ناقص یا نصفه شاید نصب شده این ارور رو میگیرید
سلام دوستان گرامی خواهشا تورو خدا یکی کمکم کنه گیر کردم
@hesammousavi
من برای نصب ریکپچا گوگل guzzlehttp رو نصب کردم که خطا زیر رو میده
هرکاری انجام دادم درست نمیشه کلا هم پاک کردم.بازم نصب کردم نمیشه
composer require guzzlehttp/guzzle
Using version ^6.5 for guzzlehttp/guzzle
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating optimized autoload files
Installation failed, reverting ./composer.json to its original content.
[RuntimeException]
Could not scan for classes inside "database/factories" which does not appear to be a file nor a folder
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] [--] [<packages>]...
حتی دستور composer dumpautoload هم خطای زیر رو هی میده
[RuntimeException]
Could not scan for classes inside "database/factories" which does not appear to be a file nor a folder
آیا مایل به ارسال نوتیفیکیشن و اخبار از طرف راکت هستید ؟