Questions tagged [yarn-lock.json]
The yarn-lock.json tag has no usage guidance.
yarn-lock.json
101
questions
0
votes
1
answer
65
views
Facing issue while upgrading yarn 1.22.x to 3.8.3 in azure build pipeline
I need to upgrade yarn 1.22.x to 3.8.3 in azure build pipeline. I have modified the pipeline yml file:
- task: NodeTool@0
inputs:
versionSpec: '16.x'
checkLatest: true ...
0
votes
0
answers
122
views
Path traversal in webpack-dev-middleware - CVE-2024-29180
The Dependabot (https://github.com/jianmingtu/test-ai-reviewer/security/dependabot/11) alerts the error "Path traversal in webpack-dev-middleware - CVE-2024-29180".
Given this dependency ...
0
votes
0
answers
24
views
What is a good practice for updating dependencies of old libraries in npm and yarn?
I'm currently using Wiki.js to build a website. I use docker as the primary way of deploying. However, Docker Scout has identified a handful of vulnerabilities in the official image provided by Wiki....
0
votes
1
answer
387
views
How to handle path traversal vulnerability in webpack-dev-middleware with Vue CLI dependency constraints?
I'm dealing with a security vulnerability in webpack-dev-middleware reported as CVE-2024-29180, which involves insufficient URL validation that allows path traversal attacks. Dependabot flagged this ...
0
votes
1
answer
13
views
Why is yarn producing this undefined error?
I am trying to upgrade eslint-config-airbnb so I run npx install-peerdeps --dev eslint-config-airbnb
But I get the error:
install-peerdeps v3.0.3
It seems as if you are using Yarn. Would you like to ...
0
votes
0
answers
43
views
Yarn install errors related to modules and directories
I am a beginner to react and I came across this error when I checked the version of yarn. It was previously worked but I think I have done something to my directories or perhaps removed some files and ...
0
votes
1
answer
30
views
Resolving 'MODULE_NOT_FOUND' error when integrating Tailwind CSS with npm and yarn
When I attempted to integrate Tailwind CSS into my project using the command "npx tailwindcss init", I encountered the following error:
npm ERR! code MODULE_NOT_FOUND npm ERR! Cannot find ...
0
votes
2
answers
35
views
Why are my yarn dependencies still listed if I deleted node modules
I have a project I am working on and I accidentally downloaded my packages with yarn after running yarn in the terminal.
I deleted the new node_modules folder and then ran yarn list -depth 0 and then ...
1
vote
2
answers
1k
views
Error: error:0308010C:digital envelope routines::unsupported on react 16 and node 21
year old react project, recently, I got this error when i try to run yarn start.
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:80:19)
at ...
0
votes
0
answers
30
views
yarn.lock ignoring the ^ (caret) symbol?
So I was reading the the yarn.lock and found this
"@types/react@*", "@types/react@^16.13.1 || ^17.0.0", "@types/react@^16.13.1 || ^17.0.0 || ^18.0.0", "@types/react@^...
1
vote
1
answer
79
views
How to consolidate various package versions in yarn.lock?
After updating packages in a monorepo (using Turborepo by Vercel) so that all match the same versions, I noticed that there are still differing versions for many packages in yarn.lock file. For ...
1
vote
0
answers
41
views
rails Error: assets Precompiling assets failed. Cannot find package
I am getting this error while trying to push my ruby on rails app
% git push heroku master
Enumerating objects: 1427, done.
Counting objects: 100% (1427/1427), done.
Delta compression ...
0
votes
0
answers
43
views
facing an error with node-sass command failed and Error: Command failed: yarnpkg add -W caniuse-lite
I have updated my nodejs version 18.19.1 and npm version 10.4.0 to resolve a compatibility issue. Since updating the below error is thrown:
SyntaxError: EOL while scanning string literal
gyp ERR! ...
1
vote
1
answer
39
views
next.js program not running when i run yarn dev the below error showing
& : The term 'node.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is ...
2
votes
0
answers
103
views
Is it possible to generate individual lock files in a yarn monorepo
We are setting up a new app, and we'd like to use a yarn monorepo. Each package in the repo is it's own app. We'd like to be able to deploy each app individually instead of the whole code base to each ...