Category "yarnpkg"

How can I upgrade ansi-html from 0.0.7 to 0.0.8?

I have a maven application which uses ReactJS for the front-end and it is using ansi-html:0.0.7 currently. This led to vulnerability alert by GitHub dependabot

Committing .yarn directory to git when using yarn berry

In the next version of yarn ("berry") the manual states that one should just commit the directory created called .yarn, but if you use the multi-version setup f

Yarn - How do I update each dependency in package.json to the latest version?

I have a react app with deprecated dependencies. To make it work, I have to update the dependencies to their newer (but stable) versions. As per this stakoverfl

Vue devtools inspection is not available on locally hosted app

When I run my Vue app, the Vue devtools extension detects Vue.js, but complains: Devtools inspection is not available because it's in production mode or explic

Yarn berry installs node_modules

node.js version: 16.14.0 yarn version: 3.1.1 macOS: 11.6.4 (Big Sur) I set up and continue to work on a yarn workspace project. I committed all files including

Usage Error When run "yarn start" on yarn berry project

Our team decides to use yarn berry on our project, and one in my team initialize project. So I cloned the project on my local and run "yarn start" in terminal B

How can I install a subfolder of a github repository using yarn?

I'm trying to add a library as a dependency to a project. This library is setup in a fairly peculiar way, with this file structure package.json library/ pac

How to cache yarn packages in GitHub Actions

I am using GitHub Actions to build my TypeScript project. Everytime I run action I am waiting 3 minutes for all dependencies to get installed. Is there way to

Why doesn't my 'npm install --global yarn' work?

After running npm install --global yarn, I get an output that says: > [email protected] preinstall C:\Users\(me)\AppData\Roaming\npm\node_modules\yarn > :; (no

How to start nuxt project on IP Address

This might be a stupid question since it seems pretty simple, but I can't get my nuxt project to run on my IP address. The Nuxt.js docs say that I have to put t

error /node_modules/node-sass: Command failed

When I tried install vue store front in my local but when I tried "yarn install" command I get following error. How can I solve this error? How can I solve this

Force yarn.lock to generate?

I have a rails app, I deleted yarn.lock (due to some complicated errors), but I would like to regenerate it. I tried yarn install -std:c++latest and yarn instal

Getting errors when trying to start app via yarn & pm2

Receiving an error when attempting to start node (next.js) app via yarn and pm2. My google fu didn't turn up anything useful. I suspect the issue is with nvm, t

Yarn start not working | error `ERR_PACKAGE_PATH_NOT_EXPORTED'

I have been trying to make this React App, but when I try to do yarn start it shows the following error message: yarn run v1.22.17 $ react-scripts start node:in

Yarn start not working | error `ERR_PACKAGE_PATH_NOT_EXPORTED'

I have been trying to make this React App, but when I try to do yarn start it shows the following error message: yarn run v1.22.17 $ react-scripts start node:in

Yarn can't find private Github npm registry

I signed up for the Github private npm registry beta and followed their instruction: https://github.com/features/package-registry Works great with npm but I'd

How can I run two dev servers with yarn workspaces?

I have two yarn workspaces A and B. Within each workspace, I can run yarn start to run webpack dev server on different ports. Therefore, I am trying to use the

How to set no proxy in yarn

I am trying to install packages from within the corporate network along with some packages that exist within the corporate repository. I was able to configure t

Installing yarn on docker file: gpg: [don't know]: partial length invalid for packet type 63

I'm having more trouble installing Yarn. Install yarn global on Docker file In my last question, I found the steps to run after the image is first built but run

Why does NPM not work with installing styled-components? Why does Xcode build fail if I install with Yarn?

I am trying to start a React app with React Native CLI (also tried with Expo, both with a Yarn startup and NPM startup separately). This is the error NPM trying