Mike McCready
Mike McCready
@quotidian-ennui This sounds like it is a configuration issue with WSL2 that you have already resolved with your workaround, not a bug in Corepack or Yarn. If you think it...
I tried setting `WSLENV=WT_SESSION:WT_PROFILE_ID:LOCALAPPDATA/p:USERPROFILE/p:APPDATA/p` in Windows 11 then running the following in Ubuntu `24.04.2` LTS under WSL2 with `[email protected]`: ```shell cd $(mktemp -d) rm -rf $LOCALAPPDATA/node/corepack rm -rf ~/.cache/node/corepack corepack...
This is also reproducible in a pure Ubuntu environment with no WSL2 involved. If `LOCALAPPDATA` is defined under Ubuntu, then Corepack is using it to build the cache location.
To reproduce on Ubuntu: ```shell npm install corepack@latest -g mkdir $HOME/localappdata export LOCALAPPDATA="$HOME/localappdata" rm -rf $LOCALAPPDATA/node rm -rf ~/.cache/node cd $(mktemp -d) corepack enable yarn export DEBUG=corepack corepack install -g...
@quotidian-ennui Although I'm able to reproduce Corepack using the wrong cache directory under a pure Linux environment, I wasn't able to reproduce your `Error: EACCES: permission denied` error on rename....
@quotidian-ennui Great to hear you have a useable workaround!
It seems the error is in https://github.com/nodejs/corepack/blob/19e3c6861a8affdfd94d97edf495c21e591fe4e0/sources/folderUtils.ts#L14-L24 where `process.env.LOCALAPPDATA` is used if it is defined, no matter which operating system is running. npm, pnpm and Yarn all are using `LOCALAPPDATA`...
@laurie-wrisk The contents of https://circleci.com/developer/orbs/orb/cypress-io/cypress#usage-node-version (which you posted above) differ from https://github.com/cypress-io/circleci-orb/blob/master/src/examples/node-version.yml which contains: ```yml description: > Run Cypress tests using the cypress/default executor with a specified node version. usage:...
@jennifer-shehane Are the docs supposed to be published automatically or is that a manual job to update them? The `node-version` search doesn't really bring any additional enlightenment on top of...
@jennifer-shehane > I feel like the actual orb doc updates if you release a new version. I don't recall ever updating the docs independently so I'm not sure if that's...