Category : composer-php

when I whrite this in cmd Creating a "laravel/laravel" project at "./example-app" the command shows the following error: [ErrorException] curl_setopt(): Unable to create temporary file. create-project [-s|–stability STABILITY] [–prefer-source] [–prefer-dist] [–repository REPOSITORY] [–repository-url REPOSITORY-URL] [–add-repository] [–dev] [–no-dev] [–no-custom-installers] [–no-scripts] [–no-progress] [–no-secure-http] [–keep-vcs] [–remove-vcs] [–no-install] [–ignore-platform-req IGNORE-PLATFORM-REQ] [–ignore-platform-reqs] [–ask] [–] [<package>] [<directory>] [<version>] PS E:xampphtdocsproject1> [ErrorException] ..

Read more

I get this error while installing laravel sanctum by composer Your requirements could not be resolved to an installable set of packages. Problem 1 – laravel/sanctum[v2.9.0, …, 2.x-dev] require illuminate/contracts ^6.9|^7.0|^8.0 -> found illuminate/contracts[v6.10.0, …, 6.x-dev, v7.0.0, …, 7.x-dev, v8.0.0, …, 8.x-dev] but these were not loaded, likely because it conflicts with another require. – ..

Read more

following this guide: https://laravel-angular.io/docs/1/jwt-auth-install/ I’ve installed tymon/jwt-auth:^[email protected] correctly. It’s all okay but, when I run: composer require irazasyed/jwt-auth-guard, this error appears. composer require irazasyed/jwt-auth-guard Using version ^1.0 for irazasyed/jwt-auth-guard ./composer.json has been updated Running composer update irazasyed/jwt-auth-guard Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set ..

Read more

I have downloaded some laravel projects to learn. But when I run command "composer update –no-scripts" from cmd I am getting this error – Your requirements could not be resolved to an installable set of packages. Problem 1 – laravel/framework[v5.8.0, …, 5.8.x-dev] require php ^7.1.3 -> your php version (8.0.0; overridden via config.platform, same as ..

Read more

I am facing a problem of error 500 in my laravel production website. My application used to work well before a composer update command I ran from ssh to ubuntu server. I used to use forge for deployment and after deploying via ssh I faced this issue. when I check nginx error logs I get ..

Read more

I am trying to install the laravel package debugbar to my website using this command composer require barryvdh/laravel-debugbar –dev package link: https://github.com/barryvdh/laravel-debugbar But it shows error on the terminal Installation failed, reverting ./composer.json and ./composer.lock to their original content. [ErrorException] file_get_contents(): Filename cannot be empty I have searched a lot but cannot find the proper ..

Read more

I am trying to install the Debugbar Laravel package to my website using this command: composer require barryvdh/laravel-debugbar –dev But it shows error on the terminal Installation failed, reverting ./composer.json and ./composer.lock to their original content. [ErrorException] file_get_contents(): Filename cannot be empty I have searched a lot but cannot find the proper solution, I have ..

Read more

it gives me an error. my current dbal version is ^3.0 Problem 1 – lotuashvili/laravel-tbcpay[1.1.0, …, 1.1.4] require doctrine/dbal ^2.9 -> found doctrine/dbal[v2.9.0, …, 2.13.x-dev] but it conflicts with your root composer.json require (^3.0). – Root composer.json requires lotuashvili/laravel-tbcpay ^1.1 -> satisfiable by lotuashvili/laravel-tbcpay[1.1.0, …, 1.1.4]. Use the option –with-all-dependencies (-W) to allow upgrades, downgrades ..

Read more

Everytime I would try to install $ composer require torann/currency I would get this error Problem 1 – torann/currency[1.1.0, …, 1.1.1] require illuminate/support ^6.0|^7.0|^8.0 -> found illuminate/support[v6.0.0, …, 6.x-dev, v7.0.0, …, 7.x-dev, v8.0.0, …, 8.x-dev] but these were not loaded, likely because it conflicts with another require. – Root composer.json requires torann/currency ^1.1 -> satisfiable ..

Read more

I am trying to update Larvel to v7.0 using composer update, but I’m getting that Laravel and immulinate view cannot co-exist. I’ve tried various version combinations, yet get the same error. How do I handle this? I’m running on CentOS 8, with PHP 7.2.24. This is the result of my update: – Root composer.json requires ..

Read more

When I try to install voyager on laravel 8 with composer: composer require tcg/voyager It starts installing, but then flashes error message: Install of tcg/voyager failed Installation failed, reverting ./composer.json and ./composer.lock to their original content. [RuntimeException] Failed to clone https://github.com/the-control-group/voyager.git, git was not found, check that it is installed and in your PATH env. ..

Read more

Github action deployment fails because of not matching composer-runtime-api ^2.0.0 even though actions/[email protected] is used that uses composer v2 laravel.yml: name: Deploy to staging on: push: branches: [ staging ] jobs: vapor: name: Check out, build and deploy using Vapor runs-on: ubuntu-latest steps: – uses: actions/[email protected] – uses: ubient/[email protected] env: VAPOR_API_TOKEN: ${{ secrets.VAPOR_API_TOKEN }} with: ..

Read more

I am trying to deploy a Laravel app to Heroku. I am getting an error relating to a custom compile script in composer.json: Running ‘composer compile’… remote: > @php -d phar.readonly=0 bin/compile > ~/log.txt remote: Script @php -d phar.readonly=0 bin/compile > ~/log.txt handling the compile event returned with error code 1 remote: remote: ! ERROR: ..

Read more