All Questions
87
questions
0
votes
1
answer
769
views
How to Use Yarn Version command to update to released version from prerelease version
I have used Yarn with git in my project to create and manage pre-release versions of my package. Now that I've completed all of my build work, I'm ready to use the yarn version command to move beyond ...
0
votes
1
answer
603
views
How to install private git repo with Yarn via access tokens without hardcoding in package.json?
I thought I could use .npmrc for v1 or .yarnrc.yml for v2/3/4 but in all cases Yarn doesn't even try to authenticate to Github
nodeLinker: node-modules
npmScopes:
packagescope:
npmAlwaysAuth: ...
0
votes
1
answer
732
views
How to use 'yarn install' to install a package that is hosted on our Bitbucket Cloud repository from within Microsoft Hosted Azure Pipeline
We use Azure DevOps Pipelines and have a pipeline using Microsoft hosted agent.
There is a step we need in our build pipeline that runs 'yarn install' to fetch a repo hosted on our Bitbucket Cloud ...
1
vote
1
answer
514
views
'invalid package version undefined' when I try to import a public git repo by a commit hash
I have forked the https://github.com/stoplightio/elements repo into my own GitHub account.
Now, I pushed a commit into it and in another react project, say Invitation-App, I want to use this as a ...
1
vote
0
answers
626
views
How does Yarn install decide whether to throw YN0070 and use node_modules vs PnP?
I have 2 different branches in my project. When I do yarn install in one of them, it starts off with:
➤ YN0070: Migrating from Yarn 1; automatically enabling the compatibility node-modules linker 👍
....
0
votes
1
answer
558
views
Yarn install with private github repo failing
I'm on a Windows 11 machine using a private github repo in my package.json. I'm using yarn 1.22.19. When doing yarn install, I get the following error:
[2/4] Fetching packages...
error Command ...
1
vote
1
answer
711
views
Setting up an old application yarn got stuck
I'm running an sh script and as part of it is using yarn to pull Angular,js packages:
rm -f yarn.lock
rm -rf node_modules
rm -rf web/statecharts
rm -rf release
rm -f fusion-*.deb
rm -f ...
0
votes
2
answers
81
views
Workflow to checkout single node package for developing a patch / pull request
I want to add a feature to https://github.com/opentripplanner/otp-react-redux/ which is pulled in from the https://github.com/opentripplanner/otp-ui/tree/master/packages/geocoder package (add another ...
4
votes
2
answers
5k
views
Husky, GitHub Desktop commit error: cannot find module yarn.js
I am working on a project that has Husky dependency.
When I try to commit changes or switch branch on GitHub Desktop, I get this error:
2022-11-16T12:18:08.885Z - error: [ui] `git commit -F -` exited ...
2
votes
2
answers
294
views
yarn add @metaplex-foundation/js failing
I have been trying to run "yarn add @metaplex-foundation/js" for a project I am working on which fails with
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --...
1
vote
4
answers
6k
views
Error: Command "yarn install" exited with 128
https://github.com/ayaztest/wolfnft
I am having a problem uploading my Github website to vercel. I'm getting this yarn error.
0
votes
1
answer
759
views
Jenkins build fails for yarn bin lerna command
I'm trying to use yarn bin lerna command in pipeline for jenkins but it fails as it tries to fetch/update package git repository with ssh credentials.
Using below Jenkinsfile in multibranch project.
...
1
vote
1
answer
3k
views
[email protected]: Permission denied (publickey) when using yarn to install github js package
Today when I execute the yarn command in the macOS(Intel Chip), show error like this:
$ yarn ‹ruby-2.7.2›...
0
votes
1
answer
317
views
How to run command on each workplace, which has changes since last commit?
I am trying to run the command on workplaces, which were changed since last commit:
yarn workspaces foreach --verbose --since --no-private npm info
My yarnrc.yml includes this setting to specify the ...
5
votes
1
answer
5k
views
yarn zero install - missing packages from unplugged directory but can't commit local unplugged directory
Switching to the yarn zero installs approach (see https://yarnpkg.com/features/zero-installs) I encountered errors in the following style when running our CI pipeline:
/app/.pnp.cjs:47262
throw ...