Open MuttakinHasib opened 2 years ago
On yarn 1 I'm able to overcome the problem by using the --no-bin-link
flag when running yarn install, maybe that you can try this.
But I'm unable to do the same with yarn 3
Unknown Syntax Error: Unsupported option name ("--no-bin-link").
I'm running into this too. No workarounds or comments?
Just came across this and I worked around it by running the cmd in a terminal which has administrator privileges.
My issues is on WSL when working in a windows file system. I worked around this by working in the linux filesystem and accessing that filesystem using \\wsl$\Ubuntu\...
paths (and updating my intellij to support it). Seems like this is actually a better workflow, so I'm happy to not have to use no-bin-links.
On yarn 1 I'm able to overcome the problem by using the
--no-bin-link
flag when running yarn install, maybe that you can try this.But I'm unable to do the same with yarn 3
Unknown Syntax Error: Unsupported option name ("--no-bin-link").
You have a typo: It is --no-bin-links
https://classic.yarnpkg.com/lang/en/docs/cli/install/#toc-yarn-install-no-bin-links
I get the same error when writing it without the typo:
$ yarn install --no-bin-links
Unknown Syntax Error: Unsupported option name ("--no-bin-links").
It looks like the option only exists in Yarn v1, but not in other versions. These are the docs for the current version https://yarnpkg.com/cli/install
yarn version: 1.22.17 wsl 2 - ubuntu 20.4 windows 11