Closed omaisali closed 2 years ago
I am not able to install this package.
Problem 1
- Root composer.json requires rawilk/laravel-printing ^2.0 -> satisfiable by rawilk/laravel-printing[2.0.0].
- rawilk/laravel-printing 2.0.0 requires mike42/escpos-php ^3.0 -> found mike42/escpos-php[v3.0] but the package is fixed to v2.2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
I was having some problems during installation too but quickly found a workaround:
Printing
inside project_name/applaravel-printing/src/
laravel-printing/config/
Then in composer.json:
"autoload":{ "classmap":[ "app/Printing" ] }
I am not able to install this package. Problem 1
- Root composer.json requires rawilk/laravel-printing ^2.0 -> satisfiable by rawilk/laravel-printing[2.0.0].
- rawilk/laravel-printing 2.0.0 requires mike42/escpos-php ^3.0 -> found mike42/escpos-php[v3.0] but the package is fixed to v2.2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
I was having some problems during installation too but quickly found a workaround:
- Made a folder called
Printing
inside project_name/app- Inside this paste the files from
laravel-printing/src/
- and the config folder
laravel-printing/config/
Then in composer.json:
"autoload":{ "classmap":[ "app/Printing" ] }
i tried and updated composer, but its same issue i have.
I am not able to install this package. Problem 1
- Root composer.json requires rawilk/laravel-printing ^2.0 -> satisfiable by rawilk/laravel-printing[2.0.0].
- rawilk/laravel-printing 2.0.0 requires mike42/escpos-php ^3.0 -> found mike42/escpos-php[v3.0] but the package is fixed to v2.2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
I was having some problems during installation too but quickly found a workaround:
- Made a folder called
Printing
inside project_name/app- Inside this paste the files from
laravel-printing/src/
- and the config folder
laravel-printing/config/
Then in composer.json:
"autoload":{ "classmap":[ "app/Printing" ] }
i tried and updated composer, but its same issue i have.
Run the composer dump-autoload
the solution refs to this question referance answer https://stackoverflow.com/a/59489333/3397143
Not sure about your configuration, but I've never had that issue installing this package on my own projects.
I am not able to install this package.
Problem 1