Apologies if there is something obvious I'm missing, I've actually never encountered this error before using npm:
C:\work\spark3>npm install mailparser
npm http GET https://registry.npmjs.org/mailparser
npm http 304 https://registry.npmjs.org/mailparser
npm http GET https://registry.npmjs.org/encoding
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/mimelib
npm http GET https://registry.npmjs.org/iconv
npm http 304 https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/mimelib
npm http 304 https://registry.npmjs.org/encoding
npm http 304 https://registry.npmjs.org/iconv
npm http GET https://registry.npmjs.org/iconv-lite/0.2.7
npm http GET https://registry.npmjs.org/addressparser
npm http 304 https://registry.npmjs.org/iconv-lite/0.2.7
npm http 304 https://registry.npmjs.org/addressparser
> iconv#2.0.4 install C:\work\spark3\node_modules\mailparser\node_modules\iconv
> node-gyp rebuild
C:\work\spark3\node_modules\mailparser\node_modules\iconv>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
gyp ERR! configure error
gyp ERR! stack Error: spawn ENOENT
gyp ERR! stack at errnoException (child_process.js:975:11)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:766:34)
gyp ERR! System Windows_NT 6.1.7600
gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\work\spark3\node_modules\mailparser\node_modules\iconv
gyp ERR! node -v v0.10.4
gyp ERR! node-gyp -v v0.9.5
gyp ERR! not ok
npm WARN optional dep failed, continuing iconv#2.0.4
mailparser#0.3.4 node_modules\mailparser
├── mime#1.2.9
├── mimelib#0.2.12 (addressparser#0.1.3)
└── encoding#0.1.6 (iconv-lite#0.2.7)
I have tried the following on my Windows machine after scouring the web:
Reinstalling Node.js
Reinstalling Python 2.7
Ensuring the path for Python is set
Updating npm
Installing Visual C++ Express 2010
Installing node-gyp globally
The problem is actually with the iconv module which, according to its GitHub page, "may or may not work with Windows".
Since mailparser declares it as an optional dependency, try downloading the mailparser source and remove iconv from package.json as a dependency.
Related
I tried using Johnny-five and node.js to run a script for, using Leap Motion Controls. now when i try to run the script it says: (Error: Cannot find module 'serialport') I tried npm install -g serial-port it goes through then give me lots of (err) codes in red . how can i fix this ?
D:>node robotarm.js
module.js:338
throw err;
^
Error: Cannot find module 'serialport'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Board.Serial.detect (D:\node_modules\johnny-five\lib\board.js:70:7)
at new Board (D:\node_modules\johnny-five\lib\board.js:303:23)
at Object.<anonymous> (D:\robotarm.js:90:9)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
#
then i try
D:>npm install serialport
it gives
npm WARN package.json github-url-from-git#1.1.1 No repository field.
npm http GET https://registry.npmjs.org/serialport
npm http 304 https://registry.npmjs.org/serialport
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/sf
npm http GET https://registry.npmjs.org/nan
npm http GET https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/optimist
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/sf
npm http 304 https://registry.npmjs.org/nan
npm http GET https://registry.npmjs.org/wordwrap
npm http GET https://registry.npmjs.org/minimist
npm http 304 https://registry.npmjs.org/wordwrap
npm http 304 https://registry.npmjs.org/minimist
> serialport#1.4.10 install D:\node_modules\serialport
> node-pre-gyp install --fallback-to-build
node-pre-gyp http GET https://node-serialport.s3.amazonaws.com/serialport/v1.4.1
0/Release/node-v14-win32-x64.tar.gz
node-pre-gyp http 404 https://node-serialport.s3.amazonaws.com/serialport/v1.4.1
0/Release/node-v14-win32-x64.tar.gz
node-pre-gyp http Pre-built binary not available for your system (falling back t
o source compile with node-gyp)
child_process: customFds option is deprecated, use stdio instead.
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYT
HON env variable.
gyp ERR! stack at failNoPython (D:\node_modules\node-gyp\lib\configure.js:10
3:14)
gyp ERR! stack at D:\node_modules\node-gyp\lib\configure.js:64:11
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:99:15)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\\Program Files (x86)\\nodejs\\node.exe" "D:\\node_modules\\
node-gyp\\bin\\node-gyp.js" "rebuild" "--name=serialport" "--configuration=Relea
se" "--module_name=serialport" "--version=1.4.10" "--major=1" "--minor=4" "--pat
ch=10" "--runtime=node" "--node_abi=node-v14" "--platform=win32" "--target_platf
orm=win32" "--arch=x64" "--target_arch=x64" "--module_main=./serialport" "--host
=https://node-serialport.s3.amazonaws.com/" "--module_path=D:\\node_modules\\ser
ialport\\build\\serialport\\v1.4.10\\Release\\node-v14-win32-x64" "--remote_path
=./serialport/v1.4.10/Release/" "--package_name=node-v14-win32-x64.tar.gz" "--st
aged_tarball=build\\stage\\serialport\\v1.4.10\\Release\\node-v14-win32-x64.tar.
gz" "--hosted_path=https://node-serialport.s3.amazonaws.com/serialport/v1.4.10/R
elease/" "--hosted_tarball=https://node-serialport.s3.amazonaws.com/serialport/v
1.4.10/Release/node-v14-win32-x64.tar.gz"
gyp ERR! cwd D:\node_modules\serialport
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files (x86)\nodejs\
node.exe rebuild --name=serialport --configuration=Release --module_name=serialp
ort --version=1.4.10 --major=1 --minor=4 --patch=10 --runtime=node --node_abi=no
de-v14 --platform=win32 --target_platform=win32 --arch=x64 --target_arch=x64 --m
odule_main=./serialport --host=https://node-serialport.s3.amazonaws.com/ --modul
e_path=D:\node_modules\serialport\build\serialport\v1.4.10\Release\node-v14-win3
2-x64 --remote_path=./serialport/v1.4.10/Release/ --package_name=node-v14-win32-
x64.tar.gz --staged_tarball=build\stage\serialport\v1.4.10\Release\node-v14-win3
2-x64.tar.gz --hosted_path=https://node-serialport.s3.amazonaws.com/serialport/v
1.4.10/Release/ --hosted_tarball=https://node-serialport.s3.amazonaws.com/serial
port/v1.4.10/Release/node-v14-win32-x64.tar.gz' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (D:\node_modules\serialp
ort\node_modules\node-pre-gyp\lib\util\compile.js:76:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:110:17)
node-pre-gyp ERR! stack at maybeClose (child_process.js:1008:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (child_proces
s.js:1080:5)
node-pre-gyp ERR! System Windows_NT 6.1.7601
node-pre-gyp ERR! command "node" "D:\\node_modules\\serialport\\node_modules\\no
de-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd D:\node_modules\serialport
node-pre-gyp ERR! node -v v0.12.0
node-pre-gyp ERR! node-pre-gyp -v v0.5.19
node-pre-gyp ERR! not ok
Failed to execute 'C:\Program Files (x86)\nodejs\node.exe rebuild --name=serialp
ort --configuration=Release --module_name=serialport --version=1.4.10 --major=1
--minor=4 --patch=10 --runtime=node --node_abi=node-v14 --platform=win32 --targe
t_platform=win32 --arch=x64 --target_arch=x64 --module_main=./serialport --host=
https://node-serialport.s3.amazonaws.com/ --module_path=D:\node_modules\serialpo
rt\build\serialport\v1.4.10\Release\node-v14-win32-x64 --remote_path=./serialpor
t/v1.4.10/Release/ --package_name=node-v14-win32-x64.tar.gz --staged_tarball=bui
ld\stage\serialport\v1.4.10\Release\node-v14-win32-x64.tar.gz --hosted_path=http
s://node-serialport.s3.amazonaws.com/serialport/v1.4.10/Release/ --hosted_tarbal
l=https://node-serialport.s3.amazonaws.com/serialport/v1.4.10/Release/node-v14-w
in32-x64.tar.gz' (1)
npm ERR! serialport#1.4.10 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the serialport#1.4.10 install script.
npm ERR! This is most likely a problem with the serialport package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get their info via:
npm ERR! npm owner ls serialport
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program File
s (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "serialport"
npm ERR! cwd D:\
npm ERR! node -v v0.12.0
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! D:\npm-debug.log
npm ERR! not ok code 0
It's telling you that the version you requested in not available as a pre-built binary for your platform. Serial port access is a low-level system thing, so such a module can't be written in pure Javascript.
As documented in the installation instructions for that module (skip down to "Installation special cases":
https://github.com/voodootikigod/node-serialport
You have to build the package on your machine. The module is written in C++, so you must install Visual Studio Express. The build scripts are written in Python, so you have to install Python. Or talk to the module creator and ask why he doesn't have binaries for your platform (he has a Gitter chat room).
Problem solved :)
If anyone else has it: install visual studio and python, then:
npm install serialport
cd node_modules/serialport
node-pre-gyp rebuild```
I cannot get Contextify to install on my system. I am running Ubuntu 14.04, node.js version 0.10.25, npm version 1.3.10, with node-gyp version 0.10.10
I've tried upgrading, restarting, installing dependencies first, everything. Nothing will get it to work.
~$ sudo npm install -g contextify
npm http GET https://registry.npmjs.org/contextify
npm http 304 https://registry.npmjs.org/contextify
npm http GET https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/nan
> contextify#0.1.8 install /usr/local/lib/node_modules/contextify
> node-gyp rebuild
/bin/sh: 1: node: not found
gyp: Call to 'node -e "require('nan')"' returned exit status 127. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/share/node-gyp/lib/configure.js:431:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Linux 3.13.0-29-generic
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/contextify
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! weird error 1
npm ERR! not ok code 0
I had the same problem. Apparently Debian has renamed the command node to nodejs which is causing the problem. For me installing nodejs-legacy fixed the issue.
sudo apt-get update && sudo apt-get install nodejs-legacy
See https://github.com/voodootikigod/node-serialport/issues/301 for details.
Can't get raspberry pi to npm install anything!
pi#raspberrypi ~/raspi-helloworld $ npm install serialport
npm WARN package.json raspi-helloworld#0.0.0 No README.md file found!
npm http GET http://registry.npmjs.org/serialport
npm http 304 http://registry.npmjs.org/serialport
npm http GET http://registry.npmjs.org/sf/0.1.6
npm http GET http://registry.npmjs.org/optimist
npm http GET http://registry.npmjs.org/nan
npm http GET http://registry.npmjs.org/node-pre-gyp
npm http GET http://registry.npmjs.org/bindings/1.1.1
npm http GET http://registry.npmjs.org/async/0.1.18
npm http 304 http://registry.npmjs.org/optimist
npm http 304 http://registry.npmjs.org/nan
npm http 304 http://registry.npmjs.org/async/0.1.18
npm http 304 http://registry.npmjs.org/sf/0.1.6
npm http 304 http://registry.npmjs.org/bindings/1.1.1
npm http 304 http://registry.npmjs.org/node-pre-gyp
npm http GET http://registry.npmjs.org/wordwrap
npm http 304 http://registry.npmjs.org/wordwrap
> serialport#1.4.0 install /home/pi/raspi-helloworld/node_modules/serialport
> node-pre-gyp install --fallback-to-build
node-pre-gyp http GET https://node-serialport.s3.amazonaws.com/serialport/v1.4.0/Release/v8-3.14-linux-arm.tar.gz
node-pre-gyp http CERT_NOT_YET_VALID (falling back to source compile with node-gyp)
make: Entering directory `/home/pi/raspi-helloworld/node_modules/serialport/build'
make: Warning: File `../binding.gyp' has modification time 7.1e+05 s in the future
ACTION Regenerating Makefile
gyp: binding.gyp not found (cwd: /home/pi/raspi-helloworld/node_modules/serialport/build) while trying to load binding.gyp
make: *** [Makefile] Error 1
make: Leaving directory `/home/pi/raspi-helloworld/node_modules/serialport/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/pi/projects/node-v0.10.2-linux-arm-pi/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:757:12)
gyp ERR! System Linux 3.6.11+
gyp ERR! command "/home/pi/projects/node-v0.10.2-linux-arm-pi/bin/node" "/home/pi/projects/node-v0.10.2-linux-arm-pi/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--name=serialport" "--configuration=Release" "--module_name=serialport" "--version=1.4.0" "--major=1" "--minor=4" "--runtime=node" "--node_abi=v8-3.14" "--platform=linux" "--arch=arm" "--target_arch=arm" "--module_main=./serialport" "--host=https://node-serialport.s3.amazonaws.com/" "--module_path=/home/pi/raspi-helloworld/node_modules/serialport/build/serialport/v1.4.0/Release/v8-3.14-linux-arm" "--remote_path=./serialport/v1.4.0/Release/" "--package_name=v8-3.14-linux-arm.tar.gz" "--staged_tarball=build/stage/serialport/v1.4.0/Release/v8-3.14-linux-arm.tar.gz" "--hosted_path=https://node-serialport.s3.amazonaws.com/serialport/v1.4.0/Release/" "--hosted_tarball=https://node-serialport.s3.amazonaws.com/serialport/v1.4.0/Release/v8-3.14-linux-arm.tar.gz"
gyp ERR! cwd /home/pi/raspi-helloworld/node_modules/serialport
gyp ERR! node -v v0.10.2
gyp ERR! node-gyp -v v0.9.3
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/home/pi/projects/node-v0.10.2-linux-arm-pi/bin/node rebuild --name=serialport --configuration=Release --module_name=serialport --version=1.4.0 --major=1 --minor=4 --runtime=node --node_abi=v8-3.14 --platform=linux --arch=arm --target_arch=arm --module_main=./serialport --host=https://node-serialport.s3.amazonaws.com/ --module_path=/home/pi/raspi-helloworld/node_modules/serialport/build/serialport/v1.4.0/Release/v8-3.14-linux-arm --remote_path=./serialport/v1.4.0/Release/ --package_name=v8-3.14-linux-arm.tar.gz --staged_tarball=build/stage/serialport/v1.4.0/Release/v8-3.14-linux-arm.tar.gz --hosted_path=https://node-serialport.s3.amazonaws.com/serialport/v1.4.0/Release/ --hosted_tarball=https://node-serialport.s3.amazonaws.com/serialport/v1.4.0/Release/v8-3.14-linux-arm.tar.gz' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/pi/raspi-helloworld/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:76:29)
node-pre-gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
node-pre-gyp ERR! stack at maybeClose (child_process.js:703:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:770:5)
node-pre-gyp ERR! System Linux 3.6.11+
node-pre-gyp ERR! command "node" "/home/pi/raspi-helloworld/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/pi/raspi-helloworld/node_modules/serialport
node-pre-gyp ERR! node -v v0.10.2
node-pre-gyp ERR! node-pre-gyp -v v0.5.11
node-pre-gyp ERR! not ok
npm ERR! serialport#1.4.0 install: `node-pre-gyp install --fallback-to-build`
npm ERR! `sh "-c" "node-pre-gyp install --fallback-to-build"` failed with 1
npm ERR!
npm ERR! Failed at the serialport#1.4.0 install script.
npm ERR! This is most likely a problem with the serialport package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get their info via:
npm ERR! npm owner ls serialport
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.6.11+
npm ERR! command "/home/pi/projects/node-v0.10.2-linux-arm-pi/bin/node" "/home/pi/projects/node-v0.10.2-linux-arm-pi/bin/npm" "install" "serialport"
npm ERR! cwd /home/pi/raspi-helloworld
npm ERR! node -v v0.10.2
npm ERR! npm -v 1.2.15
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/pi/raspi-helloworld/npm-debug.log
npm ERR! not ok code 0
As the commenters have suggested, the first thing to check is that you have the correct system time -- or at least an incorrect time that falls within the range your certificate professes ;-)
The error code is nodejs error, not raspberry per se. It refers to invalid ssl certificate. This solution worked for me.
$ npm config set strict-ssl false
$ npm config set unsafe-perm true
$ npm config set registry http://registry.npmjs.org/
I had this error in Ubuntu WSL2 on Windows10.
A restart of my PC solved the issue.
Had this error👇
npm ERR! code CERT_NOT_YET_VALID
npm ERR! errno CERT_NOT_YET_VALID
npm ERR! request to https://registry.npmjs.org/helmet failed, reason: certificate is not yet valid
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\USER\AppData\Local\npm-cache_logs\2021-07-08T18_40_13_221Z-debug.log
Updating my system time worked.
I'm trying to install pm2 module, but I'm facing this error. OS is Ubuntu 14.04 Beta2.
Node.js version is 0.10.25, npm - 1.4.7.
What am I doing wrong?
halkar#halkar-nb-ubuntu:~/source$ sudo npm install pm2 -g
.......
npm http 304 https://registry.npmjs.org/fsevents
npm http 304 https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/recursive-readdir
npm http 304 https://registry.npmjs.org/configurable
npm WARN optional dep failed, continuing fsevents#0.2.0
> usage#0.3.9 install /usr/lib/node_modules/pm2/node_modules/usage
> node-gyp rebuild
Usage: gyp_main.py [options ...] [build_file ...]
gyp_main.py: error: no such option: --no-parallel
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 2
gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:340:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Linux 3.13.0-19-generic
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/pm2/node_modules/usage
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
npm http 304 https://registry.npmjs.org/escape-regexp
npm http 304 https://registry.npmjs.org/keypress
npm http 304 https://registry.npmjs.org/mkdirp
npm ERR! usage#0.3.9 install: `node-gyp rebuild`
npm ERR! Exit status 1
As a workaround, removing gyp solved this problem for me:
sudo apt-get remove gyp
Here is the issue itself listed in pm2 repository:
https://github.com/Unitech/pm2/issues/434
On the command npm install prozess it giving following error:
root#ubuntu:/usr/local/kafka/NodeKafka# sudo npm install prozess
npm http GET https://registry.npmjs.org/prozess
npm http 200 https://registry.npmjs.org/prozess
npm http GET https://registry.npmjs.org/prozess/-/prozess-0.4.0.tgz
npm http 200 https://registry.npmjs.org/prozess/-/prozess-0.4.0.tgz
npm http GET https://registry.npmjs.org/underscore/1.3.3
npm http GET https://registry.npmjs.org/buffermaker/0.0.10
npm http GET https://registry.npmjs.org/buffer-crc32/0.2.1
npm http GET https://registry.npmjs.org/binary/0.3.0
npm http GET https://registry.npmjs.org/crc32/0.2.2
npm http GET https://registry.npmjs.org/bignum/0.6.0
npm http 304 https://registry.npmjs.org/underscore/1.3.3
npm http 304 https://registry.npmjs.org/binary/0.3.0
npm http GET https://registry.npmjs.org/underscore/-/underscore-1.3.3.tgz
npm http GET https://registry.npmjs.org/binary/-/binary-0.3.0.tgz
npm http 304 https://registry.npmjs.org/buffermaker/0.0.10
npm http GET https://registry.npmjs.org/buffermaker/-/buffermaker-0.0.10.tgz
npm http 304 https://registry.npmjs.org/buffer-crc32/0.2.1
npm http GET https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz
npm http 304 https://registry.npmjs.org/crc32/0.2.2
npm http GET https://registry.npmjs.org/crc32/-/crc32-0.2.2.tgz
npm http 304 https://registry.npmjs.org/bignum/0.6.0
npm http 200 https://registry.npmjs.org/binary/-/binary-0.3.0.tgz
npm http 200 https://registry.npmjs.org/underscore/-/underscore-1.3.3.tgz
npm http 200 https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz
npm http 200 https://registry.npmjs.org/crc32/-/crc32-0.2.2.tgz
npm http 200 https://registry.npmjs.org/buffermaker/-/buffermaker-0.0.10.tgz
> bignum#0.6.0 install /usr/local/kafka/NodeKafka/node_modules/prozess/node_modules/bignum
> node-gyp configure build
npm http GET https://registry.npmjs.org/buffers
npm http GET https://registry.npmjs.org/chainsaw
make: Entering directory `/usr/local/kafka/NodeKafka/node_modules/prozess/node_modules/bignum/build'
CXX(target) Release/obj.target/bignum/bignum.o
make: g++: Command not found
make: *** [Release/obj.target/bignum/bignum.o] Error 127
make: Leaving directory `/usr/local/kafka/NodeKafka/node_modules/prozess/node_modules/bignum/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Linux 3.2.0-49-generic
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /usr/local/kafka/NodeKafka/node_modules/prozess/node_modules/bignum
gyp ERR! node -v v0.10.13
gyp ERR! node-gyp -v v0.10.2
gyp ERR! not ok
unbuild bignum#0.6.0
unbuild prozess#0.4.0
npm ERR! weird error 1
npm http 304 https://registry.npmjs.org/chainsaw
npm http 304 https://registry.npmjs.org/buffers
npm http GET https://registry.npmjs.org/traverse
npm http 304 https://registry.npmjs.org/traverse
npm ERR! not ok code 0
Does anyone know what is the dependency of this (bignum) and the way to install prozess?