-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to install with node7: ZLIB_VERNUM != PNG_ZLIB_VERNUM #297
Comments
+1 |
I believe I used to have this error with node 7.x. have you tried 6.x ? This Is just to narrow the cause; not a solution. |
+1 in node 7, |
Looks like |
Yep, with node6 it's working fine, thank you. I left the issue open for node7 |
Node 7.4 and earlier is also working for me, 7.8 not. Haven't tried other versions in between, yet. |
node 7.7.3 have the same issue it seems. |
I have the exact same error using lwip v0.0.9 with Node v6.10.2 and npm version 4.4.4. |
I have this issue in node 6.10.2 |
Changing the Change the use of version |
@mark-veenstra thanks; btw it's not a good idea using a development branch in production. |
@dakk no it isn't but what to do if you have no other choice? Seems like Ubuntu is installing the latest Node 6.x version and I can't find a way to downgrade the NodeJS. Even if I could which versions should I use? |
@mark-veenstra I'm doing the same (using it in production) |
I have same error in macOS 10.12.4, using node v4.8.2 or v6.10.2. |
Finally I solve my problem replacing |
@edittler save my day. |
Hi, Waiting for a new version of this lib too. |
@nahody same for me! Worked only with version 6.0.0. Tip: if sameone needs to changes the node version quickly I recommend the nvm, it's a node version manager. |
+1 |
It works also in version 6.10.1 or less. The problem is in version 6.10.2. |
Same for me on macOS 10.12.3, failed on v7.9.0 and v6.10.2 but works on v6.10.1. |
v7.9.0 lwip/src/decoder/pnglibconf.h lwip/src/lib/png/pngpriv.h If you change the version of zlib to 0x12b0 in pnglibconf.h, then the project is compiled. And the tests are executed without errors. It works, but it's not right ... |
@slava-viktorov Changing the ZLIB_VERSION to 0x1280 (I am using Node: v6.10.3) worked for me, but this is still a very dirty fix... |
I've tried using the development version of pajk-lwip and it resolves the issues, but it introduces a new one:
I'm using node v.7.7.3 and node-gyp v3.6.1 Editing the ZLIB_VERNUM of node-gyp solves the issue, I can install lwip. |
I have manually tested a range of Node versions:
Hope this helps someone. Using a Node version manager you can install this using a working version on the same major version as you are currently using, and then after installing it, switch back to latest version of that major version. P.S. An easier option might be to simply use a image manipulation library written solely in javascript. See below. -- |
For the benefit of anyone else in search of a solution, your best bet may be to give jimp a try. It has a similar (and sometimes simpler) API, with zero external dependencies, so no more struggling with node-gyp. |
I was really hopeful with this solution:
But after this trick, I get this error when trying to run the application:
|
Hello from 2020 where this issue is still actual |
Drop 'sprity', use 'gulp.spritesmith-multi'. The plugin 'sprity' is great, but its dependencies are so complicated [1]. > That library can be replaced by the spritesmith toolkit which aims to do the same task. [2] [1] [Failed to install with node7: ZLIB_VERNUM != PNG_ZLIB_VERNUM · Issue #297 · EyalAr/lwip](EyalAr/lwip#297) [2] [Change sprity/sprity-gm with spritesmith/gmsmith by goonode · Pull Request #757 · google/material-design-icons](google/material-design-icons#757) --- Let's embrace the new version of Node.js!
Drop 'sprity', use 'gulp.spritesmith-multi'. The plugin 'sprity' is great, but its dependencies are so complicated [1]. > That library can be replaced by the spritesmith toolkit which aims to do the same task. [2] [1] [Failed to install with node7: ZLIB_VERNUM != PNG_ZLIB_VERNUM · Issue #297 · EyalAr/lwip](EyalAr/lwip#297) [2] [Change sprity/sprity-gm with spritesmith/gmsmith by goonode · Pull Request #757 · google/material-design-icons](google/material-design-icons#757) --- Let's embrace the new version of Node.js!
Drop 'sprity', use 'gulp.spritesmith-multi'. The plugin 'sprity' is great, but its dependencies are so complicated [1]. > That library can be replaced by the spritesmith toolkit which aims to do the same task. [2] [1] [Failed to install with node7: ZLIB_VERNUM != PNG_ZLIB_VERNUM · Issue #297 · EyalAr/lwip](EyalAr/lwip#297) [2] [Change sprity/sprity-gm with spritesmith/gmsmith by goonode · Pull Request #757 · google/material-design-icons](google/material-design-icons#757) --- Let's embrace the new version of Node.js!
Drop 'sprity', use 'gulp.spritesmith-multi'. The plugin 'sprity' is great, but its dependencies are so complicated [1]. > That library can be replaced by the spritesmith toolkit which aims to do the same task. [2] [1] [Failed to install with node7: ZLIB_VERNUM != PNG_ZLIB_VERNUM · Issue #297 · EyalAr/lwip](EyalAr/lwip#297) [2] [Change sprity/sprity-gm with spritesmith/gmsmith by goonode · Pull Request #757 · google/material-design-icons](google/material-design-icons#757) --- Let's embrace the new version of Node.js!
Drop 'sprity', use 'gulp.spritesmith-multi'. The plugin 'sprity' is great, but its dependencies are so complicated [1]. > That library can be replaced by the spritesmith toolkit which aims to do the same task. [2] [1] [Failed to install with node7: ZLIB_VERNUM != PNG_ZLIB_VERNUM · Issue #297 · EyalAr/lwip](EyalAr/lwip#297) [2] [Change sprity/sprity-gm with spritesmith/gmsmith by goonode · Pull Request #757 · google/material-design-icons](google/material-design-icons#757) --- Let's embrace the new version of Node.js!
Drop 'sprity', use 'gulp.spritesmith-multi'. The plugin 'sprity' is great, but its dependencies are so complicated [1]. > That library can be replaced by the spritesmith toolkit which aims to do the same task. [2] [1] [Failed to install with node7: ZLIB_VERNUM != PNG_ZLIB_VERNUM · Issue #297 · EyalAr/lwip](EyalAr/lwip#297) [2] [Change sprity/sprity-gm with spritesmith/gmsmith by goonode · Pull Request #757 · google/material-design-icons](google/material-design-icons#757) --- Let's embrace the new version of Node.js!
Drop 'sprity', use 'gulp.spritesmith-multi'. The plugin 'sprity' is great, but its dependencies are so complicated [1]. > That library can be replaced by the spritesmith toolkit which aims to do the same task. [2] [1] [Failed to install with node7: ZLIB_VERNUM != PNG_ZLIB_VERNUM · Issue #297 · EyalAr/lwip](EyalAr/lwip#297) [2] [Change sprity/sprity-gm with spritesmith/gmsmith by goonode · Pull Request #757 · google/material-design-icons](google/material-design-icons#757) --- Let's embrace the new version of Node.js!
Drop 'sprity', use 'gulp.spritesmith-multi'. The plugin 'sprity' is great, but its dependencies are so complicated [1]. > That library can be replaced by the spritesmith toolkit which aims to do the same task. [2] [1] [Failed to install with node7: ZLIB_VERNUM != PNG_ZLIB_VERNUM · Issue #297 · EyalAr/lwip](EyalAr/lwip#297) [2] [Change sprity/sprity-gm with spritesmith/gmsmith by goonode · Pull Request #757 · google/material-design-icons](google/material-design-icons#757) --- Let's embrace the new version of Node.js!
Drop 'sprity', use 'gulp.spritesmith-multi'. The plugin 'sprity' is great, but its dependencies are so complicated [1]. > That library can be replaced by the spritesmith toolkit which aims to do the same task. [2] [1] [Failed to install with node7: ZLIB_VERNUM != PNG_ZLIB_VERNUM · Issue #297 · EyalAr/lwip](EyalAr/lwip#297) [2] [Change sprity/sprity-gm with spritesmith/gmsmith by goonode · Pull Request #757 · google/material-design-icons](google/material-design-icons#757) --- Let's embrace the new version of Node.js!
Drop 'sprity', use 'gulp.spritesmith-multi'. The plugin 'sprity' is great, but its dependencies are so complicated [1]. > That library can be replaced by the spritesmith toolkit which aims to do the same task. [2] [1] [Failed to install with node7: ZLIB_VERNUM != PNG_ZLIB_VERNUM · Issue #297 · EyalAr/lwip](EyalAr/lwip#297) [2] [Change sprity/sprity-gm with spritesmith/gmsmith by goonode · Pull Request #757 · google/material-design-icons](google/material-design-icons#757) --- Let's embrace the new version of Node.js!
Drop 'sprity', use 'gulp.spritesmith-multi'. The plugin 'sprity' is great, but its dependencies are so complicated [1]. > That library can be replaced by the spritesmith toolkit which aims to do the same task. [2] [1] [Failed to install with node7: ZLIB_VERNUM != PNG_ZLIB_VERNUM · Issue #297 · EyalAr/lwip](EyalAr/lwip#297) [2] [Change sprity/sprity-gm with spritesmith/gmsmith by goonode · Pull Request #757 · google/material-design-icons](google/material-design-icons#757) --- Let's embrace the new version of Node.js!
Drop 'sprity', use 'gulp.spritesmith-multi'. The plugin 'sprity' is great, but its dependencies are so complicated [1]. > That library can be replaced by the spritesmith toolkit which aims to do the same task. [2] [1] [Failed to install with node7: ZLIB_VERNUM != PNG_ZLIB_VERNUM · Issue #297 · EyalAr/lwip](EyalAr/lwip#297) [2] [Change sprity/sprity-gm with spritesmith/gmsmith by goonode · Pull Request #757 · google/material-design-icons](google/material-design-icons#757) --- Let's embrace the new version of Node.js!
Drop 'sprity', use 'gulp.spritesmith-multi'. The plugin 'sprity' is great, but its dependencies are so complicated [1]. > That library can be replaced by the spritesmith toolkit which aims to do the same task. [2] [1] [Failed to install with node7: ZLIB_VERNUM != PNG_ZLIB_VERNUM · Issue #297 · EyalAr/lwip](EyalAr/lwip#297) [2] [Change sprity/sprity-gm with spritesmith/gmsmith by goonode · Pull Request #757 · google/material-design-icons](google/material-design-icons#757) --- Let's embrace the new version of Node.js!
Drop 'sprity' and its dependencies, use 'gulp.spritesmith-multi'. The plugin 'sprity' is great, but its dependencies are so complicated [1]. > That library can be replaced by the spritesmith toolkit which aims to do the same task. [2] [1] [Failed to install with node7: ZLIB_VERNUM != PNG_ZLIB_VERNUM · Issue #297 · EyalAr/lwip](EyalAr/lwip#297) [2] [Change sprity/sprity-gm with spritesmith/gmsmith by goonode · Pull Request #757 · google/material-design-icons](google/material-design-icons#757) --- Let's embrace the new version of Node.js!
Drop 'sprity' and its dependencies, use 'gulp.spritesmith-multi'. The plugin 'sprity' is great, but its dependencies are so complicated [1]. > That library can be replaced by the spritesmith toolkit which aims to do the same task. [2] [1] [Failed to install with node7: ZLIB_VERNUM != PNG_ZLIB_VERNUM · Issue #297 · EyalAr/lwip](EyalAr/lwip#297) [2] [Change sprity/sprity-gm with spritesmith/gmsmith by goonode · Pull Request #757 · google/material-design-icons](google/material-design-icons#757) --- Let's embrace the new version of Node.js!
Drop 'sprity' and its dependencies, use 'gulp.spritesmith-multi'. The plugin 'sprity' is great, but its dependencies are so complicated [1]. > That library can be replaced by the spritesmith toolkit which aims to do the same task. [2] [1] [Failed to install with node7: ZLIB_VERNUM != PNG_ZLIB_VERNUM · Issue #297 · EyalAr/lwip](EyalAr/lwip#297) [2] [Change sprity/sprity-gm with spritesmith/gmsmith by goonode · Pull Request #757 · google/material-design-icons](google/material-design-icons#757) --- Let's embrace the new version of Node.js!
Drop 'sprity' and its dependencies, use 'gulp.spritesmith-multi'. The plugin 'sprity' is great, but its dependencies are so complicated [1]. > That library can be replaced by the spritesmith toolkit which aims to do the same task. [2] [1] [Failed to install with node7: ZLIB_VERNUM != PNG_ZLIB_VERNUM · Issue #297 · EyalAr/lwip](EyalAr/lwip#297) [2] [Change sprity/sprity-gm with spritesmith/gmsmith by goonode · Pull Request #757 · google/material-design-icons](google/material-design-icons#757) --- Let's embrace the new version of Node.js!
Drop 'sprity' and its dependencies, use 'gulp.spritesmith-multi'. The plugin 'sprity' is great, but its dependencies are so complicated [1]. > That library can be replaced by the spritesmith toolkit which aims to do the same task. [2] [1] [Failed to install with node7: ZLIB_VERNUM != PNG_ZLIB_VERNUM · Issue #297 · EyalAr/lwip](EyalAr/lwip#297) [2] [Change sprity/sprity-gm with spritesmith/gmsmith by goonode · Pull Request #757 · google/material-design-icons](google/material-design-icons#757) --- Let's embrace the new version of Node.js!
Drop 'sprity' and its dependencies, use 'gulp.spritesmith-multi'. The plugin 'sprity' is great, but its dependencies are so complicated [1]. > That library can be replaced by the spritesmith toolkit which aims to do the same task. [2] [1] [Failed to install with node7: ZLIB_VERNUM != PNG_ZLIB_VERNUM · Issue #297 · EyalAr/lwip](EyalAr/lwip#297) [2] [Change sprity/sprity-gm with spritesmith/gmsmith by goonode · Pull Request #757 · google/material-design-icons](google/material-design-icons#757) --- Let's embrace the new version of Node.js!
Drop 'sprity' and its dependencies, use 'gulp.spritesmith-multi'. The plugin 'sprity' is great, but its dependencies are so complicated [1]. > That library can be replaced by the spritesmith toolkit which aims to do the same task. [2] [1] [Failed to install with node7: ZLIB_VERNUM != PNG_ZLIB_VERNUM · Issue #297 · EyalAr/lwip](EyalAr/lwip#297) [2] [Change sprity/sprity-gm with spritesmith/gmsmith by goonode · Pull Request #757 · google/material-design-icons](google/material-design-icons#757) --- Let's embrace the new version of Node.js!
Drop 'sprity' and its dependencies, use 'gulp.spritesmith-multi'. The plugin 'sprity' is great, but its dependencies are so complicated [1]. > That library can be replaced by the spritesmith toolkit which aims to do the same task. [2] Attention! > If your img pipeline requires 'Buffer' contents, then this can be remedied via 'vinyl-buffer': [3] [1] [Failed to install with node7: ZLIB_VERNUM != PNG_ZLIB_VERNUM · Issue #297 · EyalAr/lwip](EyalAr/lwip#297) [2] [Change sprity/sprity-gm with spritesmith/gmsmith by goonode · Pull Request #757 · google/material-design-icons](google/material-design-icons#757) [3] [gulp.spritesmith - npm § Breaking changes in 6.0.0](https://www.npmjs.com/package/gulp.spritesmith#breaking-changes-in-600) --- Let's embrace Node.js 8! (not 10 or 12 because gulp 3 does not support them)
Drop 'sprity' and its dependencies, use 'gulp.spritesmith-multi'. The plugin 'sprity' is great, but its dependencies are so complicated [1]. > That library can be replaced by the spritesmith toolkit which aims to do the same task. [2] Attention! > If your img pipeline requires 'Buffer' contents, then this can be remedied via 'vinyl-buffer': [3] npm 6.13.4 (node 8.17.0) generated 'package-lock.json', so track its changes [4][5]. [1] [Failed to install with node7: ZLIB_VERNUM != PNG_ZLIB_VERNUM · Issue #297 · EyalAr/lwip](EyalAr/lwip#297) [2] [Change sprity/sprity-gm with spritesmith/gmsmith by goonode · Pull Request #757 · google/material-design-icons](google/material-design-icons#757) [3] [gulp.spritesmith - npm § Breaking changes in 6.0.0](https://www.npmjs.com/package/gulp.spritesmith#breaking-changes-in-600) [4] [npm-package-lock.json | npm Documentation](https://docs.npmjs.com/files/package-lock.json) [5] [npm install not creating a new package-lock.json - Stack Overflow](https://stackoverflow.com/questions/45866533/npm-install-not-creating-a-new-package-lock-jsonc) --- Let's embrace Node.js 8! (not 10 or 12 because gulp 3 does not support them)
Drop 'sprity' and its dependencies, use 'gulp.spritesmith-multi'. The plugin 'sprity' is great, but its dependencies are so complicated [1]. And then, > That library can be replaced by the spritesmith toolkit which aims to do the same task. [2] Attention! > If your img pipeline requires 'Buffer' contents, then this can be remedied via 'vinyl-buffer': [3] npm 6.13.4 (node 8.17.0) generated 'package-lock.json', so track its changes [4][5]. [1] [Failed to install with node7: ZLIB_VERNUM != PNG_ZLIB_VERNUM · Issue #297 · EyalAr/lwip](github.com/EyalAr/lwip/issues/297) [2] [Change sprity/sprity-gm with spritesmith/gmsmith by goonode · Pull Request #757 · google/material-design-icons](github.com/google/material-design-icons/pull/757) [3] [gulp.spritesmith - npm § Breaking changes in 6.0.0](https://www.npmjs.com/package/gulp.spritesmith#breaking-changes-in-600) [4] [npm-package-lock.json | npm Documentation](https://docs.npmjs.com/files/package-lock.json) [5] [npm install not creating a new package-lock.json - Stack Overflow](https://stackoverflow.com/questions/45866533/npm-install-not-creating-a-new-package-lock-jsonc) --- Let's embrace Node.js 8! (not 10 or 12 because gulp 3 does not support them) --- I'm sorry for a bunch of references (in EyalAr/lwip and google/material-design-icons) from amended commits after rewriting history. [6] [6] [Remove references from amended commits after rewriting history · Issue #1081 · isaacs/github](github.com/isaacs/github/issues/1081)
Hello from 2023 |
2025, just got the same problem on macos 15.2. great |
Today I tried to install lwip on ubuntu 16.04 and I get this error during the compilation phase:
Am I missing something?
The text was updated successfully, but these errors were encountered: