All Questions
67
questions
0
votes
1
answer
22
views
How to develop with an external npm package into a Yarn PnP monorepo?
I do have to work with a large Yarn PnP mono repo (~30 packages and 3 micro apps).
One of the packages (package-b) is using an external npm package package-a (which is using npm as a package manager) ...
0
votes
0
answers
88
views
How on "yarn install" install dependencies with different yarn versions?
My yarn version is 3.3.1.
On package.json file I have some dependencies, like this:
"dependencies": {
"sampleA": "1.2.3",
"sampleB": "0.0.4"
}
...
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
151
views
Yarn 3: Hybrid node_modules & pnp - How do local dependencies work?
I followed the instructions for Hybrid PnP + node_modules mono-repo: from the Recipes.
Does that support referencing other packages in the same repository from the workspace for which the node-modules ...
1
vote
1
answer
1k
views
Yarn install causes an error: '401 Unauthorized'
When trying to run yarn install, I am getting:
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
error Error: http://-----------.int:8080/tfs/-------/_packaging/...
2
votes
1
answer
273
views
Ignoring major version upgrades with "yarn up"?
I'm using Yarn 4. There are a few packages I'm keeping at older versions because the new versions are incompatible.
With Yarn 1's yarn upgrade, it ignored the major upgrades. With Yarn 2+, I think we'...
0
votes
0
answers
61
views
yarn4 global add alternative
recently I have upgraded my repo to Yarn4 from version 1.22.9. I have a following command in docker file
RUN yarn global add [email protected]
The yarn global commands have been removed from version 2 ...
0
votes
0
answers
259
views
Next.js NODE_OPTIONS is not compatible with yarn v2
Important info:
yarn 2 (berry)
Next.js
I have a following script to run Next.js app (either next dev or next start), and to initialise Datadog APM tracing:
"dev": "NODE_OPTIONS='-r ./...
1
vote
0
answers
271
views
Difference of yarn classic and yarn 3(node_modules) dependency management methods
I'm using yarn 3 workspace with nodelinker: node_modules option.
As far as I know, using nodelinker: node_modules manages the library in the same way as yarn classic.
what is the difference between ...
0
votes
1
answer
2k
views
How can I use specific yarn version?
I have a configuration in my local environment working successfully. For instance, I have the following versions:
yarn - 3.2.4
node - 14.8.0
npm - 6.14.0
These versions are working fine in my local ...
4
votes
1
answer
719
views
How to include css files using yarn pnp
Ive created a new project and used yarn to install reset-css and sass package.
In my main stylesheet I now want to include the reset.css stylesheet from the installed package and build it with sass.
...
1
vote
0
answers
384
views
Speed up yarn install in Rails application docker build
I have a Rails application that takes a bit too long to build.
During rake assets:precompile it seems to fire yarn to install some packages, this takes ages:
#22 11.04 yarn install v1.22.19
#23 11.18 [...
1
vote
0
answers
325
views
Why when I use Plug and Play ( PnP ) yarn feature workspaces symlinking stops working?
I have two packages in my monorepository and I would like to use workspaces feature. When I use standard mode ( with node_modules ) I can import data from one package to another. When I use Plug and ...
2
votes
0
answers
642
views
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 ...
0
votes
1
answer
66
views
Hi, i am trying to run the code "yarn create eth-app ./ but i am getting the following error
success Installed "[email protected]" with binaries:
- create-eth-app
'C:\Users\Shiloh' is not recognized as an internal or external command,
operable program or batch file.
error Command ...