79615198

Date: 2025-05-10 06:12:28
Score: 3
Natty:
Report link

I encountered the same error while installing Ghost 5.

After troubleshooting, I found the root cause: I had initially installed Ghost-CLI using pnpm. By default, pnpm (and Yarn) places global bin and node_modules in user-level paths (e.g., ~/.local), whereas npm does not have this issue (npm uses system-level paths).

To resolve it, I uninstalled Ghost-CLI and reinstalled it globally with npm, which fixed the problem.

Hopefully, this solution helps others facing the same issue.

Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same issue
  • Low reputation (1):
Posted by: AvinZ