Questions tagged [yarn-lock.json]
90 questions
2
votes
0 answers
if I use yarn Error: Segmentation fault: 11
Until just now, yarn ran well, but suddenly a strange error started to appear.
If i use this command,
yarn run dev
Bus error: 10
yarn -v
Segmentation fault: 11
enter image description here
I tried reinstalling yarn and reinstalling the brew, but the…

Jikwan
- 21
- 2
2
votes
0 answers
Yarn install with yarn.lock failed with `403 Forbidden`
Our project depends on package A which depends on package B. Both A and B exists in a private registry.
Installing package A will update yarn.lock. With the updated yarn.lock, yarn install will fail with error
Package B Request failed \"403…

Hang Yin
- 21
- 2
2
votes
0 answers
Can different yarn versions cause yarn install to modify the content of yarn.lock files?
My question is: when I run yarn install locally, it modifies the yarn.lock file I pulled from a Github source. There is nothing changed in package.json file.
My best guess is that I am using yarn 1.22.18 locally, but the latest commit of yarn.lock…

Tony Lucas
- 189
- 1
- 13
2
votes
3 answers
sass-loader require("node-sass")); but I installed sass
Im on a M1 apple, so node-sass wont work for me. Every site I work on, I uninstall node-sass and install sass( also change nvm use 16.2.0 if anyone has that issue).
this has always worked, but today after doing so I get the following errors
Module…

Justin Blayney
- 671
- 1
- 6
- 23
2
votes
0 answers
Yarn picking wrong version of Node
I have node version 12.16.3
which is working fine when
npm install
is done
but with
yarn
I get below issue
@testing-library/jest-dom@4.2.4: The engine "node" is incompatible with this module. Expected version ">=8". Got…

Rohit Mittal
- 395
- 1
- 5
- 18
2
votes
1 answer
Is it possible to tell Yarn not to create a yarn.lock file?
With npm you can create a .npmrc file with "package-lock=false"
Is there something similar with Yarn?

Moshe Kerbel
- 121
- 7
1
vote
1 answer
Whenever I try to run yarn start I get this error message
node:internal/errors:490
ErrorCaptureStackTrace(err);
^
Error: spawn ENOTDIR
at ChildProcess.spawn (node:internal/child_process:413:11)
at Object.spawn (node:child_process:757:9)
at spawn…

NITHISH K MEGARAJAN
- 11
- 1
1
vote
0 answers
FIFTPATH tonstarter contract
Problem when exporting Fift.fif file to the tonstarter contract
I tried export FIFTPATH=/Users\engue\Downloads\ton-master\ton-master\crypto\fift\lib
but it didnot give
It was expected to be exported to the contract and then execute npm run build…

Deshaun
- 11
- 1
1
vote
0 answers
should we scan yarn.lock files inside node_modules for CVEs?
AIM: we are trying to fix CVEs reported in an angular project (scanned using trivy scanner).
Problem: None of the packages mentioned as vulnerable(as per trivy report) are direct dependent packages (not present in package.json) and is already used…

striker
- 11
- 3
1
vote
1 answer
glob-parent before 5.1.2 vulnerable to Regular Expression Denial of Service in enclosure regex
I am trying to work on a vulnerability where I need to fix the glob-parent.
This is the dependant bot-message
The latest possible version that can be installed is 3.1.0 because of the following conflicting dependency
webpack-dev-server@3.11.2…

Aniket Tiwari
- 3,561
- 4
- 21
- 61
1
vote
0 answers
Ruby/NodeJS/Yarn Issue
Trying to get a project up and running, but the install of node-sass is problematic. Not sure what's causing this error:
The issue starts when I try to rails db:create - after this command I get an error that says to run yarn install --checkfiles.…

PJ Hagerty
- 11
- 2
- 4
1
vote
1 answer
Managing packages with Yarn
I need to update old dependencies because of security reasons in a project, that uses Yarn and I would like to know the best way to do this. I have used yarn add package-name@latest and yarn upgrade package-name@latest with the same result. The old…

IOEnthusiast
- 105
- 6
1
vote
0 answers
ReactNative - Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)
I face this error when I'm try to use Drawer Component.
And There is nothing in simualtor screen.
My error message is as follow
Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of…

엄명헌
- 11
- 2
1
vote
1 answer
Bun js SegmentationFault at 188
I am trying to run below command on my existing repo which has registry setup in the .npmrc
bun install -y
The -y flag is for generating yarn v1 lockfile
It result into following error:
SegmentationFault at 188
How to setup the .rc file for bun to…

Akshay Gundewar
- 864
- 11
- 30
1
vote
1 answer
How to compile sass using a yarn script?
I have the following project:
package.json
yarn.lock
node_modules/
src/
pages/
home/
home.html
_home.scss
about/
about.html
_about.scss
index.html
styles/
global.scss
It is my first time…

Raul
- 2,673
- 1
- 15
- 52