Category "yarnpkg"

How Do I Uninstall Yarn

How can I uninstall yarn? I've used it for a react-native project and now whenever I move the code out of index.ios.js or index.android.js it throws an error so

How do I upgrade all scoped packages with Yarn?

Is it possible to upgrade all specific scoped packages in the dependencies section of my package.json by using the Yarn package manager? For example: yarn upg

Inherit or share package.json dependencies

We got couple of different projects that are using main dependencies like React and TypeScript packages. Each of those projects(maintained by different dev team

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined raised when starting react app

I'm working on a project in React and ran into a problem that has me stumped. Whenever I run yarn start I get this error: TypeError [ERR_INVALID_ARG_TYPE]

NullInjectorError: No provider for StateObservable when using ng-packagr

I have an Angular 5 project that uses ngrx/store. The project consists of an application and a shared library that the application uses. Up until today, we had

Command `yarn add react-native --exact` failed

I tryed to create new project but this happen , I update the core as they said here How to update core-js to core-js@3 dependency? but also no thing help me I

How to use Yarn 2 (or 3) to run create-react-app without specifying a new directory?

I am trying to migrate from NPM to Yarn for the sole reason of getting rid of 'node_modules' folder. I am trying to use CRA tool. However, on CRA it advises to

Set yarn environment variables without using terminal directly

We have a CI/CD pipeline that executes yarn install. I want to execute DOWNLOAD=1 yarn install command without modifying the current pipeline. I'm wondering if

Build react app multiple times with different environment variables

I have a development environment file .env.development and a production .env file for my React web app. The .env.development has a value REACT_APP_NAME=My Test

There appears to be trouble with the npm registry (returned undefined). Retrying

I'm trying to install dependencies in my project but when I run yarn install I get the following error [2/5] 🔍 Resolving packages... info There appears

Yarn shows command not found

I'm using Yarn or NPM to install most Node programs, but when I try to install Angular CLI using Yarn, it shows "command not found" (I'm using Indonesian langua

Why I get this error: Couldn't find the node_modules state file - running an install might help (findPackageLocation)?

I tried a lot, but my projects don't run with yarn, while already worked(made with create-react-app). I tried: yarn install - npm install --global yarn - npm up

Do I have to fix audit issues of the latest nuxt.js?

I am trying to use nuxt for my app, but when I run "yarn audit", there are some audit issues which are dependencies of nuxt. Do I have to fix these audit issues

Docker - "Error: EACCES: permission denied, mkdir '/project/node_modules/.cache/@babel'"

Running yarn docker-build works fine but when yarn docker-up or yarn docker-dev an error pops up when RUN yarn is called. Nginx starts up fine but yarn fails in

How to manage multiple versions of the same NPM dependency?

Situation I've written a bunch of D3.js charts using the latest version of D3 (4.9.1). However I also need to include the occasional C3.js chart in my app, pr

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