Hello everyone,
I’m encountering some issues while trying to install Ghost CMS on my Ubuntu server. Here’s a breakdown of the problem:
- Installation Process: I followed the official installation guide for Ubuntu, but when I run the installation command
sudo npm install ghost-cli@latest -g
, it throws an error message. - Error Message: The error message I receive is: “Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’”. It seems like a permission issue, but I’m not sure how to resolve it.
- Node.js and npm Version: I’ve made sure to have the latest versions of Node.js and npm installed on my server.
- Permissions: I’ve tried running the installation command with sudo, but it still gives the same permission denied error.
- Previous Experience: I’ve successfully installed other Node.js applications on this server before without any issues, so I’m not sure why Ghost CMS installation is causing problems.
Any guidance or suggestions on how to troubleshoot and resolve this issue would be greatly appreciated. Thank you in advance for your help!