Skip to main content

New answers tagged

0 votes

Caching node_modules of yarn in GitLab CI

Instead of caching node_modules try to manage the Yarn cache: variables: YARN_CACHE_FOLDER: './yarn_cache/' ... cache: paths: - '$YARN_CACHE_FOLDER'
bergentroll's user avatar
0 votes

yarn set version 3.5.1 showing old version installed

Temporarily rename the package.json file, and then install the required version. mv package.json package.json.old yarn set version berry mv package.json.old package.json
sezanzeb's user avatar
  • 1,228
0 votes

error This project's package.json defines "packageManager": "[email protected]". However the current global version of Yarn is 1.22.22

You don't need corepack. I'm at a loss for words why this works the way it is, but this is how I do it with version 4: mv package.json package.json.old yarn set version berry mv package.json.old ...
sezanzeb's user avatar
  • 1,228
0 votes

Material UI Icons fails to download with Yarn

So, I thought the time-out advice in Yarn - There appears to be trouble with your network connection. Retrying was not working for me. I had to increase the time out tag from --network-timeout 100000 ...
coolitnow's user avatar

Top 50 recent answers are included