Raspberry Pi npm install failure
See original GitHub issueThis seems similar to Issue 195, but is on a different OS.
I am running Raspbian GNU/Linux 8 (jessie), which is a flavor of Debian for Raspberry Pi.
When running “npm install mdns” I recieve the below build error:
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/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:200:12)
See the attached log for more details: 2017-08-14T18_17_05_277Z-debug.txt
Issue Analytics
- State:
- Created 6 years ago
- Comments:5
Top Results From Across the Web
raspbian - Problems with installing Node.js NPM package
One method of getting around this problem is to install a precompiled binary. To do this start by making sure that your Pi...
Read more >npm install failed on Raspberry Pi · Issue #1629 - GitHub
Launch a terminal on Raspberry Pi. clone Node-RED repository from GitHub. run npm install What happens? Installing chromedriver failed.
Read more >Solving a failed npm install on the Raspberry Pi
TL;DR If you are struggling with npm install failing on a package you are convinced is no longer a dependency of your current...
Read more >NPM not working correctly on Raspberry Pi - node.js
I have tried reinstalling NodeJS from nodesources twice, and both times NPM is installed into the directories but running any NPM just returns....
Read more >nodejs and npm error message - Raspberry Pi Forums
I'm doing Ibeacon positioning work using Nodejs, NPM. ... I am currently installing vim. now I'm getting this error in another code. and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Found the issue. Based on Stack Overflow’s error: dns_sd.h: No such file or directory I needed to install the below packages.
sudo apt-get install libavahi-compat-libdnssd-dev
Where do I find that
dns_sd.hon Windows?