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

install error #53

Open
wormen opened this issue Sep 1, 2015 · 10 comments
Open

install error #53

wormen opened this issue Sep 1, 2015 · 10 comments

Comments

@wormen
Copy link

wormen commented Sep 1, 2015

../src/dns_sd.cpp:90: error: ‘InvocationCallback’ was not declared in this scope
../src/dns_sd.cpp:95: error: expected constructor, destructor, or type conversion before ‘<’ token
../src/dns_sd.cpp:321: error: expected ‘}’ at end of input
make: *** [Release/obj.target/dns_sd_bindings/src/dns_sd.o] Error 1
make: Leaving directory `/root/.nvm/versions/io.js/v3.2.0/lib/node_modules/pm2-web/node_modules/mdns2/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/root/.nvm/versions/io.js/v3.2.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 2.6.32-504.12.2.el6.x86_64
gyp ERR! command "/root/.nvm/versions/io.js/v3.2.0/bin/iojs" "/root/.nvm/versions/io.js/v3.2.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /root/.nvm/versions/io.js/v3.2.0/lib/node_modules/pm2-web/node_modules/mdns2
gyp ERR! node -v v3.2.0
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"3.2.0","npm":"2.13.3"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"3.2.0","npm":"2.13.3"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"3.2.0","npm":"2.13.3"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"3.2.0","npm":"2.13.3"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"3.2.0","npm":"2.13.3"})

> [email protected] install /root/.nvm/versions/io.js/v3.2.0/lib/node_modules/pm2-web/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)

make: Entering directory `/root/.nvm/versions/io.js/v3.2.0/lib/node_modules/pm2-web/node_modules/ws/build'
  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
make: Leaving directory `/root/.nvm/versions/io.js/v3.2.0/lib/node_modules/pm2-web/node_modules/ws/build'
npm WARN optional dep failed, continuing [email protected]
npm ERR! Linux 2.6.32-504.12.2.el6.x86_64
npm ERR! argv "/root/.nvm/versions/io.js/v3.2.0/bin/iojs" "/root/.nvm/versions/io.js/v3.2.0/bin/npm" "install" "-g" "pm2-web"
npm ERR! node v3.2.0
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the pwuid 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 pwuid
npm ERR! There is likely additional logging output above.

The most interesting line 3
I use iojs 0.3.2

@minzhitang
Copy link

I met the same problem

@Paolocargnin
Copy link

+1 Ubuntu 14.04

@rambo-panda
Copy link

+1 CentOS release 6.5 (Final)

@constantinbeleca
Copy link

+1 Ubuntu 14.04LTS

1 similar comment
@hchfly
Copy link

hchfly commented Feb 14, 2017

+1 Ubuntu 14.04LTS

@yuhongshuai
Copy link

+1 centos7.5

`[root@instance-n1 ~ 01:58:14]#npm install -g pm2-web
npm WARN deprecated [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated [email protected]: connect 2.x series is deprecated
npm WARN deprecated [email protected]: Deprecated, use jstransformer
npm WARN deprecated [email protected]: Please update to at least constantinople 3.1.1
npm WARN deprecated [email protected]: This version has been deprecated. Please upgrade to the latest version to get the best features, bug fixes, and security patches.
npm WARN deprecated [email protected]: Use uuid module instead
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
/usr/local/bin/pm2-web -> /usr/local/lib/node_modules/pm2-web/bin/pm2-web.sh

[email protected] install /usr/local/lib/node_modules/pm2-web/node_modules/mdns2
node-gyp rebuild

gyp ERR! clean error
gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'
gyp ERR! System Linux 3.10.0-957.1.3.el7.x86_64
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/pm2-web/node_modules/mdns2
gyp ERR! node -v v12.0.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok

[email protected] install /usr/local/lib/node_modules/pm2-web/node_modules/pwuid
node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/12.0.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/pm2-web/node_modules/pwuid/.node-gyp"
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/pm2-web/node_modules/pwuid/.node-gyp'
gyp ERR! System Linux 3.10.0-957.1.3.el7.x86_64
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/pm2-web/node_modules/pwuid
gyp ERR! node -v v12.0.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/pm2-web/node_modules/mdns2):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-04-26T06_02_18_842Z-debug.log
`

@HighNetFather
Copy link

HighNetFather commented Nov 4, 2019

+1 macos (catalina)

@82kg
Copy link

82kg commented Nov 13, 2019

+1 centos7

@frankfoxy
Copy link

+1 centos7.8

@gaozhengxin
Copy link

+1 iphone13 pro max

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