pnpm: PNPM update fails at times

I’ve tried this before too while updating pnpm so this is an issue.

I am on version 1.31.6 & it prompted me to install a new version 1.33.2 which was published yesterday.

But when I try npm i -g pnpm or pnpm i -g pnpm it doesn’t do anything 😭

Here’s the output of pnpm i -g pnpm 👇

WARN  The store is not on the same device on which the installation is done. Store is on /dev/disk0, device is on /dev/disk1
Resolving: total 1, reused 0, downloaded 0

I also tried pnpm i -g pnpm@1.33.2 but it still gives the same message as above 👆

I don’t know if its npm problem or pnpm but it doesn’t update as I’m still on 1.31.6 rather than 1.33.2 as it was published yesterday & I was prompted to install that when I typed pnpm start to run my program

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 26 (25 by maintainers)

Commits related to this issue

Most upvoted comments

which pnpm gives /usr/local/bin/pnpm

Then I tried

curl -L https://unpkg.com/@pnpm/self-installer | PNPM_BIN_DEST=/usr/local/bin node

& it works 🎉

pnpm -v now gives 1.33.2. However pnpm upgrade command might be great.

I see, so it is a symlink executable. Thanks, it helped. I’ll look into it

The fix has been published with pnpm@1.35.6. So when you’ll have a version >=1.35.6 you should be able to update pnpm to the next version. I guess you could test it earlier by downgrading pnpm from v1.35.6

the standalone script should work now

pnpm i -g pnpm not fixed yet