Problems installing GenieACS

Sergio Fernández sergio.fernandez at
Fri Feb 12 06:46:11 EST 2016

I had to first do a:
     cd //pathtogenieacs//genieacs/node_modules/libxmljs/
and then
     node gyp-rebuild

Now the error when i do it is:

../../nan/nan.h:1974:11: error: ‘ExternalAsciiStringResource’ in ‘class 
v8::String’ does not name a type
      const v8::String::ExternalAsciiStringResource* ext;
../../nan/nan.h:1975:5: error: ‘ext’ was not declared in this scope
      ext = str->GetExternalAsciiStringResource();
../../nan/nan.h:1975:16: error: ‘class v8::String’ has no member named 
      ext = str->GetExternalAsciiStringResource();
make: *** [Release/] Error 1
make: se sale del directorio 
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit 
gyp ERR! stack     at emitTwo (events.js:100:13)
gyp ERR! stack     at ChildProcess.emit (events.js:185:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit 
gyp ERR! System Linux 3.19.0-49-generic
gyp ERR! command "/usr/bin/nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/tecnico/genieacs/node_modules/libxmljs
gyp ERR! node -v v5.6.0
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok

El 10/02/16 a las 22:23, Zaid Abdulla escribió:
> On Wed, 2016-02-10 at 17:50 +0100, Sergio Fernández wrote:
>> I'm in an Ubuntu 14.04 Server
>> I'm following this file step by step: https://gist.githubusercontent.
>> com/allanmc/9fae5b2f85c5b9785ae1/raw/
>> But when doing the npm install, it fails.
>> I've updated nodejs to v5.6.0 version, but the error is still the
>> same. This is the output:
>> npm ERR! hiredis at 0.1.17 install: `node-gyp rebuild`
>> npm ERR! Exit status 1
>> npm ERR!
>> npm ERR! Failed at the hiredis at 0.1.17 install script 'node-gyp
>> rebuild'.
>> npm ERR! Make sure you have the latest version of node.js and npm
>> installed.
>> npm ERR! If you do, this is most likely a problem with the hiredis
>> 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 hiredis
>> npm ERR! Or if that isn't available, you can get their info via:
>> npm ERR!     npm owner ls hiredis
>> npm ERR! There is likely additional logging output above.
>> npm ERR! Please include the following file with any support request:
>> npm ERR!     /home/tecnico/genieacs/npm-debug.log
>> I have tried reinstalling hiredis package but it is still failing.
>> I've installed GenieACS this way some months ago and it wasn't
>> failing.
> I looked into this problem before but couldn't figure out if it's
> related to libxmljs or node-gyp. Regardless, updating node-gyp will fix
> the issue. Do "npm install node-gyp" then "node-gyp rebuild".
> Zaid


*Nombre:* Sergio Fernández Rubio
*Cargo:* Ingeniero de Software y de Redes
*Departamento:* TIC
*Email:* sergio.fernandez at
*Oficina:* 968 165 000
*Página web:* 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Users mailing list