npm install -g express
The "EACCES: permission denied" error occurs when you don't have the necessary permissions to install global Node.js
packages in the /usr/local/lib/node_modules directory. This often happens when using npm to install global packages without root (administrator) privileges
sudo npm install -g express
You will be prompted to enter your system password