-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
errors with the mdsn when module is used #4
Comments
What operation system are you running on? Seems like it can't find the dns bindings |
Error: Cannot find module '..\build\Release\dns_sd_bindings' it is win7 ,it is same error ,how can fix it. |
I updated my nodejs,then the problem disappeared.But i forgot the special situation,if I don't misremember ,my nodejs is not match with the package.json |
I was facing the same issue, however, downloading and installing Bonjour SDK fixed it Bonjour SDK will create system environment variable BONJOUR_SDK_HOME which points to installation dir |
I did the test with the api followed:
var server = require('airplay-server')("my pc airplay");
server.on('request',function(req,res){
console.log("aiplay request",res);
});
server.listen(6000);
but, when the test actived,the errors came followed:
module.js:339
throw err;
^
Error: Cannot find module '../build/Release/dns_sd_bindings'
at Function.Module._resolveFilename (module.js:337:15)
at Function.Module._load (module.js:287:25)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object. (/home/king/re/node_modules/airplay-mdns- server/node_modules/mdns/lib/dns_sd.js:32:22)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
what can i do to fix the error?
The text was updated successfully, but these errors were encountered: