yarnpkg Questions

11

I'm having trouble to create npx create-react-app . ➤ YN0009: │ core-js@npm:2.6.11 couldn't be built successfully (exit code 1, logs can be found here: /C:/Users/acer/AppData/Local/Temp/logfile-100...
Let asked 13/10, 2020 at 7:54

2

Whilst installing packages with Yarn I get the following warning warning Unmet peer dependency "webpack@1 || 2 || ^2.1.0-beta || ^2.2.0-rc" Even though I have webpack installed globally. How do ...
Spadix asked 1/3, 2017 at 20:52

6

Solved

I've cloned a project which uses Yarn 1.x and am trying to run it, but I can't find a way to get the right version of Yarn. I think I must be missing something. Commented Terminal session: # using ...
Raulrausch asked 31/10, 2022 at 10:50

5

Solved

I have some different projects in my local machine. Some of then uses AWS Codeartifact to download private dependencies in AWS Codeartifact, and others do not use. The projects that uses AWS Codear...
Berwickupontweed asked 6/2, 2021 at 14:59

2

I'm encountering random occurrences of the .next/BUILD_ID file not being generated on a successful build. The issues started 3 days ago and I've been rebuilding the same commit multiple times to tr...
Rootstock asked 26/6, 2023 at 4:21

2

Solved

Question updated I currently add plugins to my cordova project using the command cordova plugin add x. I believe this uses npm in the background. Does anyone have any idea how I can switch npm o...
Lectureship asked 13/12, 2016 at 16:2

3

Solved

I'm trying to migrate a project from NPM to Yarn. Part of my node dependencies are private packages hosted on Bitbucket (not published on NPM registry) under the namespace of the company I'm worki...
Folderol asked 30/4, 2017 at 15:49

5

After upgrading rehype-katex from 5.0.0 to 6.0.1, when I run yarn start, I got: ./node_modules/hast-util-to-text/index.js 363:65 Module parse failed: Identifier directly after number (363:65) File ...
Taddeo asked 24/8, 2021 at 8:49

8

Solved

I'm using yarn berry and heroku and consistently getting the error: ➤ YN0028: │ The lockfile would have been modified by this install, which is explicitly forbidden. Which suggests that my lockfi...
Brittni asked 12/4, 2021 at 16:40

8

Solved

I'm using the npm module punycode in my Angular project. VsCode tells me it's deprecated and https://nodejs.org/api/punycode.html#punycode_punycode confirms: The version of the punycode module bun...
Tohubohu asked 13/8, 2021 at 14:58

8

Solved

I kind of rushed into creating a React app based on a tutorial that used yarn. Now I'm going to re-create the app from scratch because I'm not satisfied with the reactstrap library, and I'd like to...
Expendable asked 21/5, 2020 at 15:53

3

Solved

I've been using fontawesome with no issues for months. Today, I started seeing this error whenever I tried to push my app to production. error An unexpected error occurred: "https://npm.fontaw...
Born asked 4/5, 2022 at 1:47

3

I use vite on react, and when i use yarn to "live server" my project two new files are created, .pnp.loader.mjs and .pnp.cjs. What is the purpose of this files? I never see those files, a...
Ventriloquism asked 30/12, 2022 at 4:12

2

Solved

I'm trying to serve a react-app's build folder from a DigitalOcean droplet. After I run yarn build, I get told by the script to run yarn global add serve serve -s build However, when I run se...
Dendrite asked 7/10, 2018 at 20:42

4

Solved

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:internal/modules/cjs/loader:488 throw ...
Mailbox asked 9/12, 2021 at 10:55

13

I am learning reactjs - nodejs I was trying to run the server so I installed yarn, nodemon, express but when I try to run its saying error Command failed with exit code 1. my error is PS D:\react ...
Argilliferous asked 24/3, 2019 at 12:10

3

Solved

I installed a package with yarn add --dev, run its setup process and during it, the package installed several other packages and added those to package.json (in devDependencies), I assume with npm....
Duncan asked 13/12, 2016 at 16:40

6

Solved

I have my own private npm registry http://something. I installed yarn and trying to run following command. yarn But it is giving following error. Trace: Error: unable to get local issuer cert...
Sheff asked 19/10, 2016 at 6:41

5

Unable to launch my app using sudo yarn build I am getting this error: package.json » eslint-config-react-app/jest#overrides[0]: Environment key "jest/globals" is unknown What would be ...
Denbrook asked 1/5, 2021 at 7:17

2

For the OSS Review Toolkit project, I would like to identify which version of yarn is used by a given project in a given repository. Which criteria should be used ? There is: package.json/packageM...
Rist asked 23/5, 2022 at 9:17

7

Solved

I'm trying to install a package using yarn, but I keep getting 'Cannot find module' error. It gives this error when I try to run any command using yarn in this folder. Notably, the error started oc...
Lacee asked 3/2, 2022 at 18:12

3

Solved

I've set up a react-native app as workspace in a monorepo. I did this because I want to share some react components I've created between my mobile and web apps. The basic structure of my repo is: r...
Publius asked 20/9, 2021 at 15:54

5

Solved

I cloned vscode repo and running yarn to install deps. But got an error: [1/4] 🔍 Resolving packages... [2/4] 🚚 Fetching packages... error An unexpected error occurred: "https://registry.yarn...
Moller asked 15/10, 2021 at 7:17

12

I'm building an app with NextJs and Typescript. I'm trying to run next build (yarn build) on my local machine to check for typescript warnings and build errors before deploying. Next build hangs at...
Bebel asked 13/6, 2021 at 8:35

6

Solved

I have react native project that I worked on my laptop. when I transfer the project to my pc and run yarn install (I installed the some modules using yarn and some using npm) I get An unexpected...
Cwmbran asked 19/3, 2018 at 19:42

© 2022 - 2025 — McMap. All rights reserved.