This is a problem with npm. You could try using yarn instead, but it's not something that nodebb can fix.
General Guide to Installing NodeBB 1.13 with NodeJS 13 and MongoDB 4.2 on CentOS 8
Every so often we update our installation guide. This time we had a lot to update with MongoDB and CentOS components having big updates since the last guide.
This is assuming a CentOS 8 Stream Minimal starting point, with "yum upgrade -y" having been run ahead of time. One script to take you from vanilla minimal install to fully running NodeBB community.