Category "yarnpkg"

getting babel-node to work with yarn v2/3

I have a project with the following structure ./ ├── README.md ├── babel.config.js ├── package.json ├

jhipster is not recognized as an internal or external command, operable program or batch file

I've followed here https://jhipster.github.io/installation/ and JHipster Quick Start,but on my Windows 10, I've got "jhipster is not recognized as an internal

How to install a list of many global packages with Yarn

yarn install -h suggests that the -g (global) option is DEPRECATED. How am I supposed to indicate that I want a bunch of packages (from package.json / yarn.lock

Support for the experimental syntax 'jsx' isn't currently enabled

I'm trying to run very simple code, but I'm getting an error, I didn't use the create react app! It looks like my babel.config.js file is being ignored! This is

What is the difference between the command that yarn run [dev] executes and its vanilla node implementation? [closed]

This is my package.json file. As you can see it has a dev command that I can execute with yarn dev I figured that if I copy the command that

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