New answers tagged yarnpkg
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'
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
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 ...
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 ...
Top 50 recent answers are included
Related Tags
yarnpkg × 4242npm × 1435
node.js × 1155
reactjs × 773
javascript × 645
typescript × 294
webpack × 262
react-native × 243
yarn-workspaces × 238
docker × 222
ruby-on-rails × 170
package.json × 164
yarnpkg-v2 × 145
create-react-app × 126
node-modules × 120
vue.js × 119
next.js × 111
lerna × 95
angular × 93
git × 91
monorepo × 91
npm-install × 88
visual-studio-code × 66
expo × 65
windows × 61