Replies: 14 comments 19 replies
-
Nevermind. I used the standalone script install. It worked after using npm install method. |
Beta Was this translation helpful? Give feedback.
-
i don't think that's a correct answer, this is just another way to install the pnpm. the correct answer is, that you should have added the pnpm binary to the path. and it seems you are using windows which requires you to either use the generally accepted paths which are included in the environment or manually set up the directory where you store the custom binaries that are included in the env. |
Beta Was this translation helpful? Give feedback.
-
I'm on a fresh copy of Windows 11 Enterprise (Evaluation) via VirtualBox and I was able to work around this by copying the |
Beta Was this translation helpful? Give feedback.
-
If that didn't work then copy pnpm.exe file from
folder and paste it into
folder. |
Beta Was this translation helpful? Give feedback.
-
Windows 11 here. I have used the standalone script to install it. In my case restarting all instances of vs code solved the problem. |
Beta Was this translation helpful? Give feedback.
-
Replace in "Path" "%PNPM_HOME%" explicit with "%PNPM_HOME%\". |
Beta Was this translation helpful? Give feedback.
-
@Fred-Vatin thank you !!! |
Beta Was this translation helpful? Give feedback.
-
Here's the proposed solution on handling this issue
If the execution is successfully changed from
Resources: |
Beta Was this translation helpful? Give feedback.
-
In my case, I open the powershell as admin and paste this Then Install the LTS version of Node.js Then go to the specific folder by using cd command and check node version if it was their Done! |
Beta Was this translation helpful? Give feedback.
-
In my case, after changing vscode to run as administrator, the issue solved. |
Beta Was this translation helpful? Give feedback.
-
I solved the problem by opening the Power Shell as 'Administrator' and running the standalone script from pnpm's documentation. iwr https://get.pnpm.io/install.ps1 -useb | iex |
Beta Was this translation helpful? Give feedback.
-
right click VSCODE and choose "run as administrator" that's all |
Beta Was this translation helpful? Give feedback.
-
So I went with @privatenumber method (thanks!), Go to the location in your C drive and add the path to your system environment path variables. |
Beta Was this translation helpful? Give feedback.
-
Windows user, installed it through PowerShell, this worked for me. Untill than the pnpm folder was completly empty. So for PowerShell use this command: |
Beta Was this translation helpful? Give feedback.
-
I've installed pnpm on Windows. The command works in Windows PowerShell Terminal, but I can't get it to work in VS Code PowerShell Terminal. I've tried removing the terminal and making a new one, restarting VS Code, updating VS Code. The command is still not recognized.
I couldn't find anything in Google search, Bing Search, or Github search to resolve the issue.
Beta Was this translation helpful? Give feedback.
All reactions