Delete regedit during installation and report an error, but the installation was successful. Do you want to deal with it? #9747
Unanswered
Feather130
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When installing pnpm with the command below
Invoke-WebRequest https://get.pnpm.io/install.ps1 -UseBasicParsing | Invoke-Expression
Copying pnpm CLI from C:\Users\admin\AppData\Local\Temp\5b55c818-578a-4196-b48c-ed74325cc857\pnpm.exe to C:\Users\admin\AppData\Local\pnpm\pnpm.exe
ERROR Command failed with exit code 1: reg delete HKEY_CURRENT_USER\Environment /v REFRESH_ENV_VARS /f
����: �ܾ����ʡ�
pnpm: Command failed with exit code 1: reg delete HKEY_CURRENT_USER\Environment /v REFRESH_ENV_VARS /f
����: �ܾ����ʡ�
at makeError (C:\snapshot\dist\pnpm.cjs)
at handlePromise (C:\snapshot\dist\pnpm.cjs)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async refreshEnvVars (C:\snapshot\dist\pnpm.cjs)
at async addDirToWindowsEnvPath (C:\snapshot\dist\pnpm.cjs)
at async addDirToEnvPath (C:\snapshot\dist\pnpm.cjs)
at async Object.handler [as setup] (C:\snapshot\dist\pnpm.cjs)
at async C:\snapshot\dist\pnpm.cjs
at async main (C:\snapshot\dist\pnpm.cjs)
at async runPnpm (C:\snapshot\dist\pnpm.cjs)
Beta Was this translation helpful? Give feedback.
All reactions