Error during upgrade to latest master
This is the error I get during the upgrade:
[email protected]:/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 [email protected]^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 [email protected] wants [email protected]^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
npm i [email protected]
worked for me
Looks like I need to add that dependency explicitly from now on.
Not sure what depended on redisearch besides dbsearch, but I also just ran
npm unl redisearchand
./nodebb upgradethen worked.