Comments (7)
@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.
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.
@jermsam glad you were able to figure it out!
from react-to-print.
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.
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.
The entire error message was that above. The command to install is this below:
yarn add react-to-print
from react-to-print.
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)
- iframe is not displayed in the PDF preview HOT 4
- Issue with Link Export When Referring to the Same Page HOT 7
- Issue react-to-print style not working in production environment HOT 4
- direclty printing instead of downloading HOT 1
- Have problem with size when print element HOT 1
- Cannot Print on MS Edge Browser HOT 3
- Document title with Cyrillic characters encoding problem HOT 3
- Printing blank page when print in safari HOT 1
- Printing like the viewport is on mobile but in reality is on desktop HOT 3
- Opera on IOS and Yandex Browser on IOS dont printing HOT 5
- [BUG] [FEATURE] Can not config counter page in footer iframe HOT 5
- Page break wide content HOT 3
- Superscripts <sup/> and subscripts <sub/> HOT 1
- react-to-print custom print html content dev vs prod discrepancy HOT 4
- [BUG] [TEMPORARY FIX] - Print container on Chrome + MUI is hiding `Header and Footers` option as default behavior HOT 5
- The FOOTER to only display at the LAST PAGE HOT 3
- codesandbox examples are not loading HOT 2
- onAfterPrint is called before print iframe appears HOT 1
- On mobile devices are not truncated accordingly ref HOT 1
- Add Border to every Page HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-to-print.