Giter Site home page Giter Site logo

Comments (7)

MatthewHerbst avatar MatthewHerbst commented on June 25, 2024 1

@jermsam as far as I am aware, we are compatible with all node and npm/yarn versions. There's nothing in this library's package.json that I know about that could impact not working with node or npm/yarn versions. In fact, the package that your error message shows as throwing on, tav-r, doesn't even exist in our package-lock.json file, which shows everything that will get installed when you install this library.

Can you please post the entire command you run to install, plus the entire error message after it?

from react-to-print.

jermsam avatar jermsam commented on June 25, 2024 1

Thanks a lot. And again... am sorry. Just noticed it was my own package.json with engines directives that do not support the latest versions just as you mentioned before. I am closing this issue for that reason.

from react-to-print.

MatthewHerbst avatar MatthewHerbst commented on June 25, 2024 1

@jermsam glad you were able to figure it out!

from react-to-print.

MatthewHerbst avatar MatthewHerbst commented on June 25, 2024

Hi @jermsam. This library does not use any engines directives in its package.json, so those errors are not coming from here. Further, this library does not use Yarn. Are you sure the error you are getting is when you are installing this library? If so, can you please show the install command you are running and the entire error log? Thanks!

from react-to-print.

jermsam avatar jermsam commented on June 25, 2024

Hi @MatthewHerbst, Yes. Installing the library generates the error log highlighted above. I had to downgrade my node and yarn to the suggested to have it working. I needed to use the library ASAP so i did not wait for the issue to be resolved. Reason I downgraded, ... After downgrading it worked awesomely, however I think it would be better off being compatible with any node versions.

from react-to-print.

jermsam avatar jermsam commented on June 25, 2024

The entire error message was that above. The command to install is this below:

yarn add react-to-print

from react-to-print.

MatthewHerbst avatar MatthewHerbst commented on June 25, 2024

I just created a branch new test library and installed this package without issue.

~/Desktop/test $ yarn add react-to-print
yarn add v1.12.3
info No lockfile found.
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 📃  Building fresh packages...
success Saved lockfile.
success Saved 5 new dependencies.
info Direct dependencies
└─ [email protected]
info All dependencies
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
└─ [email protected]
✨  Done in 2.03s.
~/Desktop/test $ node --version
v10.13.0
~/Desktop/test $ yarn --version
1.12.3

I think there must be something else you are doing. As I previously mentioned, there is absolutely nothing in this library that would cause an engines failure like you described.

Can you please rm -rf node_modules and then try installing it? Also, please show your full command line like I have done above. Thank you.

from react-to-print.

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.