Skip to content
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

Issue while pushing application to cloud foundry #213

Open
Rajprasath opened this issue Apr 11, 2018 · 1 comment
Open

Issue while pushing application to cloud foundry #213

Rajprasath opened this issue Apr 11, 2018 · 1 comment

Comments

@Rajprasath
Copy link

I am trying to push a node js application into Cloud foundry. I am facing the below error "

n file included from ../src/dns_sd.cpp:1:0:
../src/mdns.hpp:32:20: fatal error: dns_sd.h: No such file or directory
#include <dns_sd.h>
^
compilation terminated.
make: *** [Release/obj.target/dns_sd_bindings/src/dns_sd.o] Error 1
make: Leaving directory /tmp/app/node_modules/mdns/build' gyp ERR! build error gyp ERR! stack Error: make` failed with exit code: 2

I have made changes like adding the dependencies libavahi-compat-libdnssd-dev but still facing the error. Can you please suggest what would be the possible reason?Below is my dependency in package.json file

"dependencies": {
"yum": "^0.1.1",
"build-essential": "",
"git-core": "
",
"libnss-mdns" :"",
"libavahi-compat-libdnssd-dev": "
",
"mdns": "*",

"body-parser": "^1.15.2",
"castv2-client": "^1.1.2",
"express": "^4.14.0",
"google-tts-api": "^2.2.4",
"ngrok": "^2.3.0"

},

@agnat
Copy link
Owner

agnat commented Apr 11, 2018

I'm not familiar with cloud foundry (or Heroku for that matter) but that does not look right.

libavahi-compat-libdnssd-dev does not belong in package.json. It's a package that ships with the distro. You have to

apt-get install libavahi-compat-libdnssd-dev

or somesuch. Please refer to your cloud provider documentation on how to install distro packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants