Reputation: 1454
Little Background Story I was trying to use pnpm, however upon installation, something went wrong, at first I thought it was corrupted files or something, so I tried to uninstall and install it again, but the same thing happen three times.. So here's what they say from the docs itself.
Directly from the docs,
Via npm: Succeed
npm install -g pnpm
However, in the next step, something is wrong.. I had no idea why, as I'm still newbie when using NPM.
Once you first installed pnpm, you can upgrade it using pnpm:
pnpm install -g pnpm
Then this logs, came out
Nothing to stop. No server is running for the store at C:\Users\<UserName>\.pnpm-store\2
Resolving: total 1, reused 0, downloaded 0
Resolving: total 1, reused 0, downloaded 0
Resolving: total 1, reused 0, downloaded 0
Packages: +1
+
Resolving: total 1, reused 0, downloaded 0
Resolving: total 1, reused 0, downloaded 0
Resolving: total 1, reused 0, downloaded 0
Resolving: total 1, reused 0, downloaded 0
Resolving: total 1, reused 0, downloaded 0
Resolving: total 1, reused 0, downloaded 0
Resolving: total 1, reused 0, downloaded 0
Resolving: total 1, reused 0, downloaded 0
Resolving: total 1, reused 0, downloaded 0
Resolving: total 1, reused 0, downloaded 0
Resolving: total 1, reused 0, downloaded 0
Resolving: total 1, reused 0, downloaded 0
Resolving: total 1, reused 0, downloaded 0
Resolving: total 1, reused 0, downloaded 0
Resolving: total 1, reused 0, downloaded 0
Resolving: total 1, reused 0, downloaded 0
Resolving: total 1, reused 0, downloaded 0
Resolving: total 1, reused 0, downloaded 0
Resolving: total 1, reused 0, downloaded 0
Resolving: total 1, reused 1, downloaded 0, done
ERROR EPERM: operation not permitted, open 'C:\Users\<UserName>\AppData\Roaming\npm\pnpm'
What I want To understood what's the problem and what's the solution..
pnpm --v
fine, however upon the second command it behaves like what I said above. Should I abandon the second command and use PNPM as it is?Upvotes: 1
Views: 2356
Reputation: 21
I came to the same error using MINGW64 (or CMD). Then installed pnpm via Powershell and it worked.
Upvotes: 1