Error during upgrade to latest master



  • Hello,

    This is the error I get during the upgrade:

    root@localhost:/var/www/ForumTech/nodebb# ./nodebb upgrade
    Bringing base dependencies up to date...
    Error: Command failed: /usr/bin/env npm i --production
    npm WARN peerDependencies The peer dependency redisearch@^0.0.5 included   from no
    debb-plugin-dbsearch will no
    npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
     npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
    
    npm ERR! Linux 3.18.9-x86_64-jb1
    npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "i" "--production"
    npm ERR! node v0.12.7
    npm ERR! npm  v2.11.3
    npm ERR! code EPEERINVALID
    
    npm ERR! peerinvalid The package redisearch does not satisfy its siblings' peerDependencies requirements!
    
    npm ERR! peerinvalid Peer nodebb-plugin-dbsearch@0.2.17 wants redisearch@^0.0.5
    
    npm ERR! Please include the following file with any support request:
    npm ERR!     /var/www/ForumTech/nodebb/npm-debug.log
    

    I'm using nginx, Ubuntu and MongoDB.

    Here is the log

    How to fix it?

    Thanks in advance


  • Community Rep

    npm i redisearch@0.0.5
    

    worked for me


  • Admin

    Looks like I need to add that dependency explicitly from now on.



  • @yariplus said:

    npm i redisearch@0.0.5
    

    worked for me

    Thank you, it worked for me too 👍


  • Admin

    Not sure what depended on redisearch besides dbsearch, but I also just ran npm unl redisearch and ./nodebb upgrade then worked.


Log in to reply
 


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