Installing mdns on Windows 7, node-gyp rebuild fails.
See original GitHub issueHello,
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:
- Created 8 years ago
- Reactions:1
- Comments:7 (2 by maintainers)
Top 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 >
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
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 thevcvarsall.bat
command prompt (despite it being in listed in Windows’ Environment Variables -> System variables). I had to manually set it in thevcvarsall.bat
cmd prompt by running$env:BONJOUR_SDK_HOME = "C:\Program Files\Bonjour SDK\"
before runningnpm install mdns
.System Info:
Dear all you need is just to install Bonjour from Apple`s website and also set PATH in User variables