Got error while installing on local ubuntu 14.04 machine


  • GNU/Linux

    I got following error while installing nodebb

    npm ERR! registry error parsing json
    npm ERR! Linux 3.13.0-29-generic
    npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--production"
    npm ERR! node v0.12.7
    npm ERR! npm  v2.11.3
    
    npm ERR! Unexpected token u
    

    I tried solving it by npm cache clean , still error persists.

    Link for npm-debug.log



  • Definitely seems like cache issue with the record for express-session.
    try sudo npm cache clean? After that try manually clearing the cache files?




Looks like your connection to NodeBB was lost, please wait while we try to reconnect.