Restarting a NodeJS application in cPanel *(CloudLinux) gives 503 error and the stderr.log states: Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'> BrokenPipeError: [Errno 32] Broken pipe node[175421]:...
yum -y update
curl -sL | bash -
yum clean all && yum makecache fast
yum install -y gcc-c++ make
yum install -y nodejs
yum remove nodejs rm -rf ~/.nvm ~/.npm ~/.bower /usr/local/bin/npm /usr/local/bin/node* /usr/local/include/node* /usr/local/lib/node* /usr/local/share/man/man1/node* /usr/local/lib/dtrace/node.d ~/.npm ~/.node-gyp /opt/local/bin/node...
sudo yum update
curl –sL | sudo bash -
sudo yum install –y nodejs
node --version
npm --version
Error: Cannot find module ‘express’
Solution:
npm install express
node: error while loading shared libraries: libbrotlidec.so.1: cannot open shared object file: No such file or directory
Solution:
yum install broccoli
Gridsome is a Vue.js static site generaqtor that requires yarn, nodejs and NPM in order to generate website files. I recommend using two separate devices, one on which you develop the site and another where it will bi published. But, if you for some...