This is a problem with npm. You could try using yarn instead, but it's not something that nodebb can fix.
Solved - Installation Errors v1.4.3
I'm doing an install of nodebb v1.4.3 on a clean new Ubuntu 16.04 server and following the instructions from:
The instructions seem to be evolving nicely, but I ran into an error with he npm dependency installation:
$ sudo npm install --production npm WARN deprecated [email protected]: Please upgrade to 2.2.19 or higher npm WARN deprecated [email protected]: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years. Killed ...] | extract:passport-local: sill gunzTarPerm extractEntry less/bootstrap-rtl/pager-rtl.less $ sudo ./nodebb setup NodeBB could not be started because it's dependencies have not been installed. Please ensure that you have executed "npm install --production" prior to running NodeBB. For more information, please see: https://docs.nodebb.org/en/latest/installing/os.html Could not start: MODULE_NOT_FOUND