I fixed my own issue. Apparently some install scripts fail when run as root (or with sudo). I'm not sure why this is the case, but I got everything to work by running sudo chown -R ralph:www-data /path/to/nodebb && ./nodebb upgrade as a standard user.
Error upgrading master branch
Henry Wright last edited by
./nodebb upgrade, I get the following error:
Error: Command failed: npm WARN package.json firstname.lastname@example.org No README data npm WARN deprecated email@example.com: pngjs2 has now taken over the original pngjs package on npm. Please change to use pngjs dependency, version 2+.
Any idea how to resolve this one?
Looks like a warning, but not a serious one. We don't use that package in NodeBB itself so it is likely one of its dependencies