It depends . If your compiling assets on the server or if you are compiling them locally and then pushing to the server. If you are compiling them on the server then you would need node/npm/yarn on it.
Read moreCan I use npm with Laravel?
Laravel Project Laravel ships with everything you need to get started. Simply: Install Laravel. Run npm install.
Read moreWhy npm is required?
npm is the package manager for the Node JavaScript platform. It puts modules in place so that node can find them, and manages dependency conflicts intelligently . It is extremely configurable to support a wide variety of use cases. Most commonly, it is used to publish, discover, install, and develop node programs.
Read more