TryGhost / Ghost-CLI

CLI Tool for installing & updating Ghost
https://ghost.org
MIT License
452 stars 227 forks source link

when I install ghost-cli, it encounter a error : No matching version found for generate-password@1.7.1 #1884

Open liuestc opened 1 month ago

liuestc commented 1 month ago

when I exec sudo npm install -g ghost-cli@latest

I encountered a error, the whole log below

npm ERR! code ETARGET
npm ERR! notarget No matching version found for generate-password@1.7.1.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:

i found the package.json the "generate-password": "1.7.1" ,but I search the repo generate-password there no version 1.7.1, the latest version is 1.61, i'm stuck in step1, how can i start? is it my computer's local env probelem? how can i check? my OS info is mbp M1

ProductName:        macOS
ProductVersion:     14.6.1

➜  ghost_hd_platform npm --version
7.10.0
➜  ghost_hd_platform node -v
v20.5.1