Open Dipak2912 opened 8 years ago
I too am running into this issue.
Thank you to give a reply.
On Sat, 16/7/16, Dawson Goodell notifications@github.com wrote:
Subject: Re: [EyalAr/lwip] lwip does not able to install in node v6.2.2 (#263) To: "EyalAr/lwip" lwip@noreply.github.com Cc: "Dipak Chavda" dips_mca09@yahoo.com, "Author" author@noreply.github.com Date: Saturday, 16 July, 2016, 9:48 AM
I too am running into this issue.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
same here
Getting stuck on production, same issue with latest node v6.4.0
➜ apiV2 git:(master) ✗ npm install lwip --latest
lwip@0.0.9 install /Users/Novanet/Work/apiV2/node_modules/lwip node-gyp rebuild
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
CXX(target) Release/obj.target/lwip_decoder/src/decoder/init.o
Could not connect to Redis at 127.0.0.1:6379: Connection refused
make: *\ [Release/obj.target/lwip_decoder/src/decoder/init.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Darwin 15.2.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/Novanet/Work/apiV2/node_modules/lwip
gyp ERR! node -v v6.4.0
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm WARN 360-api@1.0.0 No repository field.
npm ERR! Darwin 15.2.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "lwip" "--latest"
npm ERR! node v6.4.0
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! lwip@0.0.9 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the lwip@0.0.9 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the lwip package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs lwip
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls lwip
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! /Users/Novanet/Work/apiV2/npm-debug.log
I've just tested node 6.5 & node-gyp 3.4 can successful compile lwip. (windows 8.1) My previous Install seems fail due to node-gyp 3.3.1.
I just tried with node 6.5 and node-gyp 3.4 on Windows 10 64 bit with windows-build-tools installed and it fails to build.
Idem on OSX With node 6.5 and node-gyp 3.4
Same here on OSX 10.11.6
with node v.6.7
and node-gyp 3.4
The same on Centos 6.5 && node 6.6.0 && node-gyp 3.4.0
same node v6.7.0
Same here node v6.0.0
Follow the error...
I'm on Centos. The error said I didn't have a C++11 complier. I installed a C++11 compiler. Error gone.
http://hiltmon.com/blog/2015/08/09/c-plus-plus-11-on-centos-6-dot-6/
@LawJolla it worked for me, cool. Thanks
I had the same problem on Ubuntu. I installed C++ 11 compile liker @LawJolla and error gone
here is how to install C++ 11 on Ubuntu http://charette.no-ip.com:81/programming/2011-12-24_GCCv47/
I had this issue when I upgraded to node.js 6.9.2 locally. I was initially on 4.3.0 and lwip version 0.0.8 and it was all good.
This was on my thumby thumbnail creator and img server which uses lwip.
I got similar issues as above after the 6.9.2 node.js upgrade.
But npm uninstalling lwip v0.0.8 and upgrading it to v0.0.9 fixed it.
more here: https://github.com/newbreedofgeek/thumby/issues/1
I have the same issue. node v6.10.3; npm v3.10.10; Ubuntu 17 when i run npm i lwip i get
In file included from ../src/lib/png/png.c:14:0:
../src/lib/png/pngpriv.h:805:4: error: #error ZLIB_VERNUM != PNG_ZLIB_VERNUM "-I (include path) error: see the notes in pngpriv.h"
# error ZLIB_VERNUM != PNG_ZLIB_VERNUM \
@newbreedofgeek in my case it did not work! The problem persist on macOS Sierra 10.12.5. I had the same issue with node v6.11.0 LTS and with my current version v8.1.2.
I got the same warning than @sawfly e.g:
In file included from ../src/lib/png/png.c:14:
../src/lib/png/pngpriv.h:805:4: error: ZLIB_VERNUM != PNG_ZLIB_VERNUM "-I (include path) error: see the notes in pngpriv.h"
# error ZLIB_VERNUM != PNG_ZLIB_VERNUM \
^
1 error generated.
make: *** [Release/obj.target/lwip_decoder/src/lib/png/png.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/vihuvac/.npm-packages/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at emitTwo (events.js:125:13)
gyp ERR! stack at ChildProcess.emit (events.js:213:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:197:12)
gyp ERR! System Darwin 16.6.0
gyp ERR! command "/usr/local/Cellar/node/8.1.2/bin/node" "/Users/vihuvac/.npm-packages/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/vihuvac/Sites/blueimp-file-uploader-express/node_modules/lwip
gyp ERR! node -v v8.1.2
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! lwip@0.0.9 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the lwip@0.0.9 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
any solution?
I test with node 6.11.1 and 7.10.1 but it is not working.
Hi. I tried lwip coz i wanted to work with one team at one project. I tried lwip on ubuntu 14.04, 16.04, Windows 7, 8. I had problems on any OS and with different versions of node, npm, gyp. They declined me as team member. I think, the trouble is either with hardware, or with liibrary (v 0.2 it is even not beta). I think, you'd better don't use it (see something else) or wait for newest versions. Sorry but i can't help you
2017-07-14 21:48 GMT+03:00 jatinder bhola notifications@github.com:
any solution? [image: capture] https://user-images.githubusercontent.com/12767363/28226247-6c865072-68a3-11e7-956c-1a377f517021.PNG
I test with node 6.11.1 and 7.10.1 but it is not working.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/EyalAr/lwip/issues/263#issuecomment-315437711, or mute the thread https://github.com/notifications/unsubscribe-auth/ATnFXbDCvSbTIdTY5EbKeKplf7yDFIatks5sN7fpgaJpZM4I-fuv .
-- Have a nice day. Best regards sincerely,
Eugene Sawfly
@sawfly I know :( ... It works fine with node 7.2.1 but cause issues with node 8.1.4, 7.10.1, 6.11.1 Do you have any good image processing module in you mind which I can use as a replacement for LWIP. Thank you very much for replying. 👍
try one of this (I didn't use anyone) https://www.npmjs.com/package/easyimage, https://www.npmjs.com/package/image-processor, https://www.npmjs.com/package/jimp (or find other in google search)
2017-07-17 17:42 GMT+03:00 jatinder bhola notifications@github.com:
@sawfly https://github.com/sawfly I know :( ... It works fine with node 7.2.1 but cause issues with node 8.1.4, 7.10.1, 6.11.1 Do you have any good image processing module in you mind which I can use as a replacement for LWIP. Thank you very much for replying. 👍
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/EyalAr/lwip/issues/263#issuecomment-315776188, or mute the thread https://github.com/notifications/unsubscribe-auth/ATnFXX9OyS1qnKmly4_xB4PrSZr9G-DWks5sO3LmgaJpZM4I-fuv .
-- Have a nice day. Best regards sincerely,
Eugene Sawfly
[root@ip---- srv]# node -v v6.11.0
[root@ip---- srv]# npm -v 3.10.10
node-gyp -v v3.4.0
with same issue on amazon ec2 linux
OS: NAME="Amazon Linux AMI" VERSION="2017.03" ID="amzn" ID_LIKE="rhel fedora" VERSION_ID="2017.03" PRETTY_NAME="Amazon Linux AMI 2017.03" Amazon Linux AMI release 2017.03
npm ERR! Failed at the lwip@0.0.9 install script 'node-gyp rebuild'.
EDIT: i've solved part of problem with yum groupinstall 'Development Tools'
but now i faced another problem In file included from ../src/lib/png/png.c:14:0: ../src/lib/png/pngpriv.h:805:4: error: #error ZLIB_VERNUM != PNG_ZLIB_VERNUM "-I (include path) error: see the notes in pngpriv.h" error ZLIB_VERNUM != PNG_ZLIB_VERNUM \
the matching zlib is included from my local node-gyp version (there are different node-gyp version in %USERPROFILE%/./node-gyp . The node-gyp version 4.4.2 has the right ZLIB_VERNUM=0x1280 in zlib.h. I could solve the problem by specficing a target version for node-gyp via commandline: SET NPM_CONFIG_TARGET=v4.4.2 npm config set target=v4.4.2 --global npm install --global sprity
gyp ERR! node -v v8.9.2 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok
241 verbose node v8.11.3
242 verbose npm v6.3.0
243 error code ELIFECYCLE
244 error errno 1
245 error lwip@0.0.9 install: node-gyp rebuild
245 error Exit status 1
246 error Failed at the lwip@0.0.9 install script.
246 error This is probably not a problem with npm. There is likely additional logging output above.
247 verbose exit [ 1, true ]
I am facing same issue
1 error generated.
make: *** [Release/obj.target/lwip_decoder/src/lib/png/png.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/omprakash/.nvm/versions/node/v9.11.2/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:180:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Darwin 16.1.0
gyp ERR! command "/Users/omprakash/.nvm/versions/node/v9.11.2/bin/node" "/Users/omprakash/.nvm/versions/node/v9.11.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/omprakash/node_api/node_modules/lwip
gyp ERR! node -v v9.11.2
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN farmGuide.in@0.0.1 No repository field.
npm WARN farmGuide.in@0.0.1 license should be a valid SPDX license expression
npm WARN The package gulp-sass is included as both a dev and production dependency.
npm WARN The package gulp-uglify is included as both a dev and production dependency.
npm WARN The package run-sequence is included as both a dev and production dependency.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! lwip@0.0.9 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the lwip@0.0.9 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! /Users/omprakash/.npm/_logs/2019-03-28T13_22_52_383Z-debug.log Oms-MacBook-Air:node_api omprakash$ Oms-MacBook-Air:node_api omprakash$ npm install --save jimp npm WARN farmGuide.in@0.0.1 No repository field. npm WARN farmGuide.in@0.0.1 license should be a valid SPDX license expression npm WARN The package gulp-sass is included as both a dev and production dependency. npm WARN The package gulp-uglify is included as both a dev and production dependency. npm WARN The package run-sequence is included as both a dev and production dependency.
Please find below attached npm debug file. npm-debug.txt
node -v v6.2.2
npm -v 3.9.5
Operating system CentOS 6.7
I am not able to install lwip module in nodejs. It throws following error in command line: