Skip to main content
0 votes
1 answer
195 views

My project is requiring to install 3.5.1 version of yarn when i try yarn set version 3.5.1 it's giving error This project's package.json defines "packageManager": "[email protected]". ...
vivek modi's user avatar
0 votes
1 answer
228 views

THE PROBLEM I have two JavaScript files in packageA that I know have lint errors. I fixed and staged one. When I try to commit the staged file, it fails because of the unfixed/unstaged file. SETUP I ...
gtb104's user avatar
  • 29
1 vote
1 answer
45 views

Modern Yarn portable shell seems to not have implemented user's home directory (~) so commands like echo ~/.foo would fail. Instead of explicity calling shell, is there any equivalent to this symbol?
aminous's user avatar
  • 216
1 vote
0 answers
81 views

I know that there are some related posts but I cannot find proper way to use yarn link in my project. I use yarn 3.5. I got structure Projects: LibA LibB Package.json And separate app Where I should ...
ruddnisrus's user avatar
0 votes
1 answer
168 views

I have a folder structure like this: root/ packages/ snackbar/ src/ example/ src/ babel.config.js metro.config.js package.json tsconfig.json ...
flix's user avatar
  • 1,983
0 votes
0 answers
157 views

react native 0.74.2 yarn install giving following error "YN0007: │ com.shiva.test@workspace:. must be built because it never has been before or the last one failed" also yarn lifecycle ...
S H I V A's user avatar
1 vote
0 answers
96 views

How to call lifecycle events of 'yarn install' on react native 0.74.2 and yarn version is 3.6.4 I've added yarn lifecycle methods in my package.json under the scripts section. However, when I run the ...
S H I V A's user avatar
1 vote
3 answers
2k views

Simply, I can't install the pod for the react-native project when I use the yarn - Berry or any newer version 3.x or 4.x. Is there anyone who made this work? Thanks! This can be re-introduced by ...
LoveMob's user avatar
  • 616
5 votes
0 answers
653 views

We're in the process of upgrading our React project's Node version from 10 to 18. However, after the upgrade, we are encountering issues with our webpack configuration, specifically with the resolve ...
Abhishek Sharma's user avatar
0 votes
1 answer
99 views

My build step fails when running the following github action. Note that I'm using yarn v1.22.19. yml (abbreviated): # This file was auto-generated by the Firebase CLI # https://github.com/firebase/...
saner's user avatar
  • 458
0 votes
1 answer
463 views

I want to use node 20.9.0 and yarn 3.2.4. If I do: mkdir test cd test yarn init yarn add protobufjs I get the following error: ➤ YN0000: ┌ Resolution step ➤ YN0000: └ Completed in 0s 813ms ➤ YN0000: ...
Eric G's user avatar
  • 796
4 votes
0 answers
1k views

In our project we are currently using yarn v1. We are able to download packages from our private registry (artifactory). Our packages are scoped packages, which means our package.json looks like this: ...
Daniel's user avatar
  • 915
0 votes
1 answer
88 views

I have the following .tsx component: const Header = ({ dict: map, lang: string }) => { return ( <header className="flex items-center justify-between py-10"> <div> ...
Ymi's user avatar
  • 808
0 votes
1 answer
262 views

I'm using Yarn 3's workspaces. If I have a script in a package.json { "name": "myscripts", "scripts": { "migrate": "./migrate up -m src/migrations&...
Tim Fairbrother's user avatar
1 vote
0 answers
174 views

Say I have a dependency graph like this: root - d1 - d3 (v1.1) `- d2 - d3 (v1.2) and for some reason d3 v1.1 and v1.2 are incompatible (i.e., d1 has to use d3 v1.1, d2 has to use d3 v1.2). Is ...
stackoverflower's user avatar

15 30 50 per page
1
2 3 4 5