Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
1 vote
1 answer
95 views

I have this in package.json: "engines": { "node": ">=18.20.5" }, But when trying to install (yarn install) using Node version 18.20.3 did not throw any errors,...
mason's user avatar
  • 524
0 votes
0 answers
110 views

I’m using yarn v4 workspaces and need to be able to add an NPM token to access a private package. Locally this works fine as I can either define a .env.yarn file or add it to my .env file and use the ...
Sam Judge's user avatar
0 votes
1 answer
343 views

As the title says. I have an Expo application running on SDK 52 and built on React-native. Im using Yarn 4.7 and have set this in my package.json: "packageManager": "[email protected]" ...
Pajala's user avatar
  • 143
1 vote
2 answers
2k views

I'm trying to setup a new project where I want to use typescript (and eslint, prettier and jest but that's less important). I'm following this tutorial: https://www.youtube.com/watch?v=-sswKgneCVI ...
Yorian's user avatar
  • 2,074
0 votes
1 answer
1k views

I have a Dockerfile written using old yarn FROM node:20-alpine AS dependencies WORKDIR /app COPY package.json ./ COPY yarn.lock ./ RUN yarn install --production --frozen-lockfile && yarn ...
uchar's user avatar
  • 2,590
0 votes
1 answer
180 views

It works on my local, but yarn install fails on github actions. I have setup Node and yarn version same as my project - name: Checkout code uses: actions/checkout@v2 - name: Set ...
nayounsang's user avatar
0 votes
1 answer
213 views

I have this situation in which my application will not run if the Node version is below v20. In package.json I have: "engines": { "node": "^20.10.0", "yarn&...
Jeanluca Scaljeri's user avatar
3 votes
2 answers
4k views

As far as I know, npm install -g yarn or sudo apt install yarn installs the legacy yarn version which is 1.22.x. If you want to migrate to yarn 4.x for a specific project, it is possible using yarn ...
Naomikho's user avatar
  • 137
1 vote
1 answer
81 views

I clone this repo, and add overrides field to airflow/www/package.json to forcefully specify version of glob at any depth: { "name": "airflow-www", ... "resolutions"...
ComplicatedPhenomenon's user avatar
2 votes
1 answer
347 views

I'm trying to use portals in my monorepo with Yarn 4.1.0 and it can't resolve a common dependency when it is referred to from parent directories which are nested differently in the monorepo, even ...
Wyck's user avatar
  • 12.1k
10 votes
3 answers
17k views

My project is using [email protected] and node 16.x.x i want to update my node version to node 20 and i new that node 20 works with [email protected]. When i went to yarn page migration https://yarnpkg.com/...
Sohaib Najjar's user avatar
11 votes
2 answers
10k views

I can see corepack about to download yarn v1.22 when I run the yarn command: user@laptop:~/empty-directory$ yarn Corepack is about to download https://registry.yarnpkg.com/yarn/-/yarn-1.22.22.tgz. Do ...
M455's user avatar
  • 199
2 votes
1 answer
792 views

I'm migrating from the classic yarn to version 4 and encountered an issue with my version bump CI job since the --no-commit-hooks and --no-git-tag-version flags are not there anymore with the modern ...
Darko Tasevski's user avatar