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

Problem Installing. #86

Open
boydduk opened this issue Jul 13, 2017 · 3 comments
Open

Problem Installing. #86

boydduk opened this issue Jul 13, 2017 · 3 comments

Comments

@boydduk
Copy link

boydduk commented Jul 13, 2017

/share/git/dasher] # npm install
|

[email protected] install /share/CACHEDEV1_DATA/git/dasher/node_modules/node -dash-button/node_modules/pcap/node_modules/socketwatcher
node-gyp rebuild

Traceback (most recent call last):
File "/share/CACHEDEV1_DATA/.qpkg/nodejsv4/node/lib/node_modules/npm/node_modu les/node-gyp/gyp/gyp_main.py", line 13, in
import gyp
File "/share/CACHEDEV1_DATA/.qpkg/nodejsv4/node/lib/node_modules/npm/node_modu les/node-gyp/gyp/pylib/gyp/init.py", line 8, in
import gyp.input
File "/share/CACHEDEV1_DATA/.qpkg/nodejsv4/node/lib/node_modules/npm/node_modu les/node-gyp/gyp/pylib/gyp/input.py", line 5, in
from compiler.ast import Const
File "/root/daily_build/64_21/4.3.3/SysUtil/Python-2.7.5-cross/install_path_fu ll/lib/python2.7/compiler/init.py", line 29, in
File "/root/daily_build/64_21/4.3.3/SysUtil/Python-2.7.5-cross/install_path_fu ll/lib/python2.7/compiler/transformer.py", line 29, in
ImportError: No module named parser
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/share/CACHEDEV1_DATA/.qpkg/nodejsv 4/node/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)
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_proces s.js:200:12)
gyp ERR! System Linux 4.2.8
gyp ERR! command "/share/CACHEDEV1_DATA/.qpkg/nodejsv4/node/bin/node" "/share/CA CHEDEV1_DATA/.qpkg/nodejsv4/node/lib/node_modules/npm/node_modules/node-gyp/bin/ node-gyp.js" "rebuild"
gyp ERR! cwd /share/CACHEDEV1_DATA/git/dasher/node_modules/node-dash-button/node _modules/pcap/node_modules/socketwatcher
gyp ERR! node -v v4.5.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm ERR! Linux 4.2.8
npm ERR! argv "/share/CACHEDEV1_DATA/.qpkg/nodejsv4/node/bin/node" "/usr/local/b in/npm" "install"
npm ERR! node v4.5.0
npm ERR! npm v2.15.9
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 socketwatcher 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 information on how to open an issue for this project with:
npm ERR! npm bugs socketwatcher
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls socketwatcher
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /share/CACHEDEV1_DATA/git/dasher/npm-debug.log

@boydduk
Copy link
Author

boydduk commented Jul 13, 2017

I can't seem to run node-gyp, without typing node node-gyp?

@mrlohnes
Copy link

I am getting this same error when installing.

@strasp09
Copy link

strasp09 commented Aug 7, 2017

I had the same problem but solved by installing libpcap-dev.

sudo apt-get install libpcap-dev

I did not notice the Setup section in README.md :p

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

3 participants