Category "yarnpkg"

How to install package from github repo in Yarn

When I use npm install fancyapps/fancybox#v2.6.1 --save, so fancybox package at v2.6.1 tag will be installed. This behavior is described in docs I want to ask,

Is there any way to skip hoisting during yarn build?

Recently I have updated the node version to 16+. Prior to that, I was able to trigger the yarn build command to create the build of my project. But after instal

npm equivalent of yarn install --check-files (or yarn check)

Update for 2020 This question originally referred to the yarn check command, but the docs state that this is deprecated in v1, and removed in v2, and yarn insta

is there a yarn alternative for npm audit?

need pinned resolution feature of yarn, but also want to audit with npm audit? Is there a yarn alternative to npm audit? Or, alternately, will pinning resolutio

How to fix 404 error when installing npm package from GCP artifact registry with yarn?

I'm having an issue with installing an NPM package from GCP. I was able to upload the package to the artifact registry of GCP by doing the following steps: Logi

YARN warning "has unmet peer dependency". What do with this?

Warning in console: warning "react-scripts > eslint-config-react-app > [email protected]" has unmet peer dependency "@babel/plugin-syntax-flow@

Unable to set engine-strict flag with yarn

I am trying to force all devs to use particular version of node or higher. I have "engines": { "node": ">=14", "yarn": ">=1.5", "npm": "plea

package.json and remote git repository

In my package.json I have defined a GitHub repo as a dependency. "dependencies": { "react": "^16.3.0-alpha.1", "react-native": "0.54.0-rc.3", "re

Error running install script for optional dependency ~/iltorb: Command failed

I need to setup a React project for which I want to install some Node dependencies. I ran yarn and got some errors; initially I thought the issue may relate to

yarn run error : Command failed with exit code 1

I was trying to follow this tutorial This is a tutorial on Solana program dev using anchor and the error rises from using yarn on ubuntu 20.0 i guess and I got

How to install Yarn v1 and Yarn v2 on the same machine so they can be used interchangelby between projects?

I'm running a couple of projects that make use of Yarn v1 that will not be upgraded to Yarn v2 anytime soon for many reasons (CI being one of them). However, I

How can I version bump all my dependencies?

Having yarn outdated is quite informative but I'd like to avoid running over package by package doing yarn upgrade. From yarn's documentation, just yarn upgrad

How can I version bump all my dependencies?

Having yarn outdated is quite informative but I'd like to avoid running over package by package doing yarn upgrade. From yarn's documentation, just yarn upgrad

Yarn global command not working

I'm working with Yarn v0.16.1. If I understand correctly (according to the documentation), yarn global add <package> should be the equivalent of npm insta

What is the equivalent of "npm install <package_name> --save" in Yarn?

I am using Yarn to install the dependencies of my project. What is the equivalent of "npm install <package_name> --save " in Yarn to update the entry in m

NextJS - export is broken (no CSS, no JS)

I am using NextJS (https://nextjs.org/) Version 9.0.6. My next.config.js looks like this: /* eslint-disable */ const withLess = require("@zeit/next-less"

The engine "node" is incompatible with this module

I am getting below yarn error when deploying to AWS error [email protected]: The engine "node" is incompatible with this module. Expected version ">=6 <7 ||