Giter Site home page Giter Site logo

installation issue about laravel-printing HOT 4 CLOSED

rawilk avatar rawilk commented on August 20, 2024
installation issue

from laravel-printing.

Comments (4)

MuhammadAbbasAkhtar avatar MuhammadAbbasAkhtar commented on August 20, 2024

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:

  1. Made a folder called Printing inside project_name/app
  2. Inside this paste the files from laravel-printing/src/
  3. and the config folder laravel-printing/config/

image

Then in composer.json:
"autoload":{ "classmap":[ "app/Printing" ] }

from laravel-printing.

omaisali avatar omaisali commented on August 20, 2024

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:

  1. Made a folder called Printing inside project_name/app
  2. Inside this paste the files from laravel-printing/src/
  3. and the config folder laravel-printing/config/

image

Then in composer.json:
"autoload":{ "classmap":[ "app/Printing" ] }

i tried and updated composer, but its same issue i have.

from laravel-printing.

MuhammadAbbasAkhtar avatar MuhammadAbbasAkhtar commented on August 20, 2024

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:

  1. Made a folder called Printing inside project_name/app
  2. Inside this paste the files from laravel-printing/src/
  3. and the config folder laravel-printing/config/

image
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

from laravel-printing.

rawilk avatar rawilk commented on August 20, 2024

Not sure about your configuration, but I've never had that issue installing this package on my own projects.

from laravel-printing.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.