Closed OussamaRomdhane closed 6 years ago
@OussamaRomdhane i have same issue, Apparently the package is discontinued.
i try to npm i --force lwip
on windows 10 execute
npm install --global windows-build-tools
then npm install --global node-gyp
and last npm install lwip
Thanks guys for the help.. But I already switched back to Ubuntu :smile:
pablis00, your commands doesn't work for me, have the same error
@OussamaRomdhane even on ubuntu mine is failing... what is the secret?
@Milewski Just make sure you have a c compiler (gcc), make and python 2.7.x . It should work.
Check if you do have them using
gcc --version
python --version
(This must return 2.7.x mine is 2.7.12)
and
make --version
Ubuntu should come with all of them (a bit not sure when it comes to python) installed
@OussamaRomdhane i have these as node-canvas recommended
apt-get install -y libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev build-essential g++ gcc
and python 2.7, i even did this to ensure npm is using the right python...
npm config set python /usr/bin/python2.7
but npm rebuild lwip
still fails....
error
npm info lifecycle lwip@0.0.8~install: Failed to exec install script
npm ERR! Linux 4.4.20-moby
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "rebuild" "lwip"
npm ERR! node v7.0.0
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! lwip@0.0.8 install: `node-gyp rebuild`
npm ERR! Exit status 1
@Milewski I don't know man, maybe it's the node version?
I had an issue installing lwip for Windows 10 x64
npm-debug.log