question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Run Don't working with pnpm + WSL 2 (Ubuntu)

See original GitHub issue

The Run don’t work with pnpm + WSL 2 (Ubuntu)

  • Windows 10
  • WSL 2 with Ubuntu 20.04
  • PNPM version: 7.1.9
  • YARN version: 1.22.18

Repo that you can reproduce: https://github.com/SharebookBR/sharebook-frontend-next

(Please, let me know if you need more informations to reproduce.)

Details:

If I execute yarn install, all works well, but if I execute pnpm install I receive the error bellow:

image

Thanks.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
henriqueholtzcommented, Jul 7, 2022

@peterpoliwoda they are differents troubles, really. Because in my terminal don’t use //wsl\$/Ubuntu/home..., but directly /home/.....

I don’t can verify the suggestion from @firsttris still.

0reactions
henriqueholtzcommented, Jul 12, 2022

@firsttris I’ve insetigated a little, and I realized this difference:

image

image

About the extension settings, you have some appointment ? The projectPath looks ok for example.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Request: Use Windows links when in WSL · Issue #1215
This does not seem to work for WSL2. Symlinks are not working in my IDE and therefore pnpm is unusable, even with developer...
Read more >
Installation | pnpm
Now that you know where the pnpm CLI is, open that directory and remove any pnpm-related files ( pnpm.cmd , pnpx.cmd , pnpm...
Read more >
WSL2: Packages installed using pnpm not detected - YouTrack
Create empty node project, then install any packages using pnpm. You'll see that they are not detected as installed and prompt to install...
Read more >
After installing npm on WSL Ubuntu 20.04 I get the message ...
From WSL run sudo apt install nodejs npm to install node & npm; From PowerShell/CMD run wsl --shutdown to restart the WSL service;...
Read more >
Troubleshooting Windows Subsystem for Linux | Microsoft Learn
Older CPUs (such as the Intel Core 2 Duo) will not be able to run WSL2, even if the Virtual Machine Platform is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found