question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installing mdns on Windows 7, node-gyp rebuild fails.

See original GitHub issue

Hello,

I’ve been trying to get a Meteor install running, but it keeps on breaking while updating mdns dependencies.
More specifically on node-gyp rebuild I get the following log output:

C:\xampp\htdocs\Github\panini>meteor
[[[[[ C:\xampp\htdocs\Github\panini ]]]]]

=> Started proxy.
=> Started MongoDB.
soixantecircuits:mdns: updating npm dependencies -- mdns...
npm WARN package.json packages-for-meteor-smartpackage-15k5drd@0.0.0 No
description
npm WARN package.json packages-for-meteor-smartpackage-15k5drd@0.0.0 No
repository field.
npm WARN package.json packages-for-meteor-smartpackage-15k5drd@0.0.0 No
README data
gypnpm ERR! Windows_NT 6.1.7601
npm ERR! argv
"C:\\Users\\Michiel\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.1.3\\mt-o
s.windows.x86_32\\dev_bundle\\bin\\\\node.exe"
"C:\\Users\\Michiel\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.1.3\\mt-o
s.windows.x86_32\\dev_bundle\\bin\\node_modules\\npm\\bin\\npm-cli.js"
"install"
npm ERR! node v0.10.36
npm ERR! npm  v2.7.3
npm ERR! code ELIFECYCLE

npm ERR! mdns@2.2.2 install: `node-gyp rebuild`
npm ERR! Exit status 7
npm ERR!
npm ERR! Failed at the mdns@2.2.2 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the mdns 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 their info via:
npm ERR!     npm owner ls mdns
npm ERR! There is likely additional logging output above.

=> Errors prevented startup:

While building package soixantecircuits:mdns:
error: couldn't install npm packages from npm-shrinkwrap

=> Your application has errors. Waiting for file change.  

The soixantecircuits:mdns package is simply a wrapper around mdns, calling that package.

Thank you for your help

Issue Analytics

  • State:open
  • Created 8 years ago
  • Reactions:1
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
davidmurdochcommented, Apr 16, 2016

Hopefully this will be a time saver for someone else (even though this is already mentioned in the install section)…

Install was failing for me on Windows 10 because the BONJOUR_SDK_HOME environment variable wasn’t available in the vcvarsall.bat command prompt (despite it being in listed in Windows’ Environment Variables -> System variables). I had to manually set it in the vcvarsall.bat cmd prompt by running $env:BONJOUR_SDK_HOME = "C:\Program Files\Bonjour SDK\" before running npm install mdns.

System Info:

0reactions
akshay20jhacommented, Jun 5, 2020

Hello,

I’ve been trying to get a Meteor install running, but it keeps on breaking while updating mdns dependencies. More specifically on node-gyp rebuild I get the following log output:

C:\xampp\htdocs\Github\panini>meteor
[[[[[ C:\xampp\htdocs\Github\panini ]]]]]

=> Started proxy.
=> Started MongoDB.
soixantecircuits:mdns: updating npm dependencies -- mdns...
npm WARN package.json packages-for-meteor-smartpackage-15k5drd@0.0.0 No
description
npm WARN package.json packages-for-meteor-smartpackage-15k5drd@0.0.0 No
repository field.
npm WARN package.json packages-for-meteor-smartpackage-15k5drd@0.0.0 No
README data
gypnpm ERR! Windows_NT 6.1.7601
npm ERR! argv
"C:\\Users\\Michiel\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.1.3\\mt-o
s.windows.x86_32\\dev_bundle\\bin\\\\node.exe"
"C:\\Users\\Michiel\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.1.3\\mt-o
s.windows.x86_32\\dev_bundle\\bin\\node_modules\\npm\\bin\\npm-cli.js"
"install"
npm ERR! node v0.10.36
npm ERR! npm  v2.7.3
npm ERR! code ELIFECYCLE

npm ERR! mdns@2.2.2 install: `node-gyp rebuild`
npm ERR! Exit status 7
npm ERR!
npm ERR! Failed at the mdns@2.2.2 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the mdns 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 their info via:
npm ERR!     npm owner ls mdns
npm ERR! There is likely additional logging output above.

=> Errors prevented startup:

While building package soixantecircuits:mdns:
error: couldn't install npm packages from npm-shrinkwrap

=> Your application has errors. Waiting for file change.  

The soixantecircuits:mdns package is simply a wrapper around mdns, calling that package.

Thank you for your help

Dear all you need is just to install Bonjour from Apple`s website and also set PATH in User variables

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developers - Installing mdns on Windows 7, node-gyp rebuild fails. -
Hello,. I've been trying to get a Meteor install running, but it keeps on breaking while updating mdns dependencies. More specifically on node-gyp...
Read more >
Installing mdns on Synology, node-gyp rebuild fails
Failed at the mdns@2.3.3 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ......
Read more >
A Comprehensive Guide to Fixing Node-Gyp Issues on Windows
1. Try running npm install with the --no-optional flag. · 2. Try downloading the windows-build-tools package. · 3. Download the Visual Studio 2015 ......
Read more >
NodeJS / NPM / node-gyc / make - something's not working ...
I think this is an issue with some kind of compile or build tool I think, node-gyc or Make? Running npm install will...
Read more >
Can't install Homebridge, I need help : r/homebridge - Reddit
... `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the mdns@2.3.4 install script. npm ERR! This is probably...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found