Questions tagged [yarn-lock.json]
90 questions
0
votes
0 answers
Why does my yarn.lock change even if I don't change my package.json?
After some investigation, I still can't understand why this is happening:
I have a package.json file and a yarn.lock commited in my repo. If I checkout my main branch and run:
yarn install
I would expect the dependencies from yarn.lock to be…

Bruno Monteiro
- 4,153
- 5
- 29
- 48
0
votes
0 answers
Error digital envelope routines::unsupported while running yarn start -ssl
I am getting the below error while running yarn start -ssl.
I have tried yarn install again as ChatGPT says but still no use:
Error:
Generating browser application bundles (phase: building)...Error: error:0308010C:digital envelope…
0
votes
0 answers
Yarn start command on terminal throwing 'Package subpath not defined' error. How can I resolve this?
When I input yarn start on my terminal I get this error;
mac@Chris-MacBook-Pro IPFS-ethereum % yarn start
yarn run v1.22.19
$ react-scripts start
node:internal/modules/cjs/loader:575
throw e;
^
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]:…

Chris Roland
- 1
- 1
0
votes
0 answers
Yarn packge not being updated to latest allowed defined by caret
I just don't understand why one of my yarn.lock sub-dependencies is not being updated to the most up-to-date available version that should be allowed to be installed based on how the sub-dependency is defined in one of the direct (main)…

Vka
- 321
- 1
- 7
- 19
0
votes
1 answer
Error during Yarn install when deploying to Netlify
I am unable to deploy my React App to Netlify.
Its encontering Error during Yarn install when building the App.
Link to build error
I tried changing the build command from npm run build to yarn run build yet still not working

Orisfina
- 59
- 9
0
votes
1 answer
GitHub ci-test throwing "Your lockfile needs to be updated" even after I committed an updated Yarn lockfile
I was trying to merge my pull request to a repository. I got this error:
error Your lockfile needs to be updated, but yarn was run with --frozen-lockfile.
I figured this was due to my changes including new packages, so the lockfile has to be…

Nathan Tew
- 432
- 1
- 5
- 21
0
votes
1 answer
Added unexpected lines of codes in yarn.lock file
I pulled React js repository from git. and ran yarn install then added 6k+ lines of codes in yarn.lock file I expected 4k or less. Is it any version issue? or is it a yarn issue?
node version: v18.7.0
yarn version: 3.4.1

Athif Saheer
- 4,539
- 3
- 9
- 14
0
votes
0 answers
When and how should yarn.lock be updated?
I'm pretty new to working in teams and proper CI/CD workflows, and also new to yarn. I'm trying to figure out how to use the yarn.lock file properly. This yarn documentation says:
If you need reproducible dependencies, which is usually the case…

Nathan Tew
- 432
- 1
- 5
- 21
0
votes
0 answers
Webpack encore yarn encore dev --watch works only once
I use symfony 6.2 and webpack encore .
When i run yarn encore dev --watch (i run yarn watch but i get a script) webpack is compiling after a change in my js code and if i refresh my page changes are taken into account. But if i do another change in…

Nosfair Alchtion
- 1
- 1
0
votes
0 answers
I have an issue buiding a React project with Vite on Vercel
I can't deploy my project on Vercel and it is throwing me the errors shown below. I have tried to modify the codes several times but it's still giving me this error. Anyone has the solution to this?
Full logs detail:…

user21425475
- 1
- 1
0
votes
0 answers
yarn -v SyntaxError: Unknown token
I tried to install yarn and check yarn version but the result is SyntaxError: Unknown token when I check yarn. I tried to fix by some commands but it didn't work. How to solve it?
I got many .yarnrc

than
- 17
- 1
- 3
0
votes
1 answer
Yarn command gives error ..\..\package.json: Name contains illegal characters
Here is what my code looks like:
enter image description here
First and foremost,i'm new to react.js and i'm just learning about yarn and I notice no matter which follow along I watch their react-app always gets a yarn.lock file and mine never does.…
0
votes
0 answers
Carousel between string and non-string version of package in my yarn.lock
I've had this issue for a long time and I'm finally done with it! I've got a single package in my app that, after each time yarn [install] is run it switches from the string version to the non-string version and vise versa in the yarn.lock file. If…

Luke
- 2,053
- 1
- 18
- 25
0
votes
1 answer
How should I start yarn server?
PS C:\Users\Mahima\OneDrive\Desktop\StackOverflow-clone> yarn start
yarn run v1.22.4
warning package.json: No license field
error Command "start" not found.
I have installed all the required dependencies along with yarn still it is showing the error…

Mahima Bhoir
- 1
- 2
0
votes
2 answers
yarn start command failed with exit code 127
Every time I try to start my project as usual using "yarn start" I get the "Command failed with exit code 127" error. I've realised I started to get this error once I've updated my iOS to Monterey v12.6.1 . My node version is not compatible with the…

Daniel Bisceanu
- 1,117
- 1
- 9
- 15