GithubHelp home page GithubHelp logo

Unable to install from NPM about node-printer HOT 11 CLOSED

roicp avatar roicp commented on August 15, 2024
Unable to install from NPM

from node-printer.

Comments (11)

k2s avatar k2s commented on August 15, 2024 14

this helped me under Linux and MacOS: export npm_config_legacy_peer_deps=true

from node-printer.

sbittmann avatar sbittmann commented on August 15, 2024 10

try npm install printer --legacy-peer-deps this worked for me on windows.

from node-printer.

k2s avatar k2s commented on August 15, 2024 1

I ended up using https://github.com/thiagoelg/node-printer

from node-printer.

filipesarturi avatar filipesarturi commented on August 15, 2024

same here

from node-printer.

konni avatar konni commented on August 15, 2024

Thanks @k2s your solution worked for me.

from node-printer.

altruios avatar altruios commented on August 15, 2024

npm ERR! path R:\MPI_react\server\node_modules\printer
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c npm install node-gyp node-pre-gyp
npm ERR! npm ERR! code ERESOLVE
npm ERR! npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! npm ERR!
npm ERR! npm ERR! While resolving: [email protected]
npm ERR! npm ERR! Found: [email protected]
npm ERR! npm ERR! node_modules/grunt
npm ERR! npm ERR! dev grunt@"^1.0.4" from the root project
npm ERR! npm ERR!
npm ERR! npm ERR! Could not resolve dependency:
npm ERR! npm ERR! peer grunt@"~0.4" from [email protected]
npm ERR! npm ERR! node_modules/grunt-node-gyp
npm ERR! npm ERR! dev grunt-node-gyp@"git://github.com/tojocky/grunt-node-gyp.git" from the root project
npm ERR! npm ERR!
npm ERR! npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! npm ERR!
npm ERR! npm ERR! See C:\Users\pa319k\AppData\Local\npm-cache\eresolve-report.txt for a full report.
npm ERR!
npm ERR! npm ERR! A complete log of this run can be found in:
npm ERR! npm ERR! C:\Users\pa319k\AppData\Local\npm-cache_logs\2021-03-29T20_47_22_537Z-debug.log

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\pa319k\AppData\Local\npm-cache_logs\2021-03-29T20_47_23_334Z-debug.log

I have a very similar error. still no work around for me...

from node-printer.

adams-family avatar adams-family commented on August 15, 2024

+1

Same issue here :(

from node-printer.

rqyrku avatar rqyrku commented on August 15, 2024

I still have this issue tried both npm install printer --legacy-peer-deps and export npm_config_legacy_peer_deps=true but with no success

Any suggestions?

from node-printer.

saknarak avatar saknarak commented on August 15, 2024

this is worked for me (node 14-18)

npm install printer --build-from-source --legacy-peer-deps

from node-printer.

ezno12 avatar ezno12 commented on August 15, 2024

try npm install printer --legacy-peer-deps this worked for me on windows.

worked for me too on windows

from node-printer.

roicp avatar roicp commented on August 15, 2024

Thank you helped a lot

from node-printer.

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.