• I was having some problems with 0.0.7 so I decided to upgrade. After a fresh pull following the guide for upgrading, the page rendered very weird and a lot of js errors that stemmed from SyntaxError: illegal character

    ?���

    I removed everything and did a clean install and I am getting the same thing. npm install fails on hiredis@0.1.15

    ../src/reader.cc:93:16: error: expected primary-expression before '' token
    ../src/reader.cc:93:17: error: 'b' was not declared in this scope
    ../src/reader.cc: In member function 'v8::Localv8::Value hiredis::Reader::createString(char
    , size_t)':
    ../src/reader.cc:107:20: error: expected primary-expression before '' token
    ../src/reader.cc:107:21: error: 'b' was not declared in this scope
    ../src/reader.cc: In member function 'v8::Localv8::Value hiredis::Reader::createBufferFromPool(char
    , size_t)':
    ../src/reader.cc:124:16: error: expected primary-expression before '' token
    ../src/reader.cc:124:17: error: 'b' was not declared in this scope
    ../src/reader.cc: In member function 'v8::Localv8::Value hiredis::Reader::createString(char
    , size_t)':
    ../src/reader.cc:115:1: warning: control reaches end of non-void function [-Wreturn-type]
    make: *** [Release/obj.target/hiredis/src/reader.o] Error 1
    make: Leaving directory /home/ubuntu/intestment/forum/node_modules/hiredis/build' gyp ERR! build error gyp ERR! stack Error: make` failed with exit code: 2
    gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
    gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:103:17)
    gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12)
    gyp ERR! System Linux 3.8.0-30-generic
    gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    gyp ERR! cwd /home/ubuntu/intestment/forum/node_modules/hiredis
    gyp ERR! node -v v0.11.3
    gyp ERR! node-gyp -v v0.9.6
    gyp ERR! not ok

    Any ideas? Anyone else report anything like this?

    For reference, ill leave the server up for a bit:

    http://forum.intestment.com/

  • Admin NodeBB

    Can you try downgrading node to version 0.10.16 and see if it works? Maybe hiredis is not playing well with that version of node.


  • That got it. I had to actually complete uninstall and wipe node, npm, nvm and the forum to get it to clean up and work. BUT, now I have a singular node path and install and the forums work. Ill be contributing once I get my site built up more and find some nice methods for integrating.

  • Admin NodeBB

    Glad to hear it is resolved!


  • Thanks again for the help.

  • GNU/Linux Admin

    So a super new version of node doesn't work, that's definitely something we'll look into for the upcoming version.

    Thanks for the bug report @nab911!

Suggested Topics

| |