Skip to main content

Questions tagged [yarnpkg]

This tag is for Yarn v 1.x. See version-specific tags, as version differences are significant. Yarn is an open-source JavaScript package manager. With Yarn, engineers have access to the npm registry and can install packages quickly, and manage dependencies consistently across machines or in secure offline environments.

0 votes
1 answer
146 views

yarn ts-node-dev requires defining dependency to src folder

Can you help me understand this behavior and share how would you solve this "properly"? I'm running Node.JS (v20.12.2), Yarn (4.1.1), tsc (5.4.5) and have following goals: Run the app ...
ppavlov's user avatar
  • 127
0 votes
0 answers
12 views

create-next-app error, while running the development server after all files generated by yarn or npm

This is the error that's looks like on the dev server And this is the terminal error Please suggest me possible fixes, why this occurred. i found a fix but this is not a correct way to edit these ...
Mukesh Gupta's user avatar
0 votes
2 answers
35 views

Why are my yarn dependencies still listed if I deleted node modules

I have a project I am working on and I accidentally downloaded my packages with yarn after running yarn in the terminal. I deleted the new node_modules folder and then ran yarn list -depth 0 and then ...
MrGod1y's user avatar
0 votes
0 answers
58 views

error Error: https://registry.yarnpkg.com/create-next-app.: Not found

error Error: https://registry.yarnpkg.com/create-next-app.: Not found Warning: PowerShell detected that you might be using a screen reader and has disabled PSReadLine for compatibility purposes. If ...
Romil Sharma's user avatar
0 votes
0 answers
44 views

React Build Fails with "Reached Heap Limit" Error in Dockerized Environment*

I'm encountering a "FATAL ERROR: Reached heap limit Allocation failed" error during the build process of my ReactJS project within a Dockerized environment. Environment: ReactJS application ...
tverdo's user avatar
  • 152
0 votes
1 answer
25 views

node yarn build produces weird question-mark symbols

Running yarn build in some conditions on cicd pipelines, e.g. Jenkins, produces weird hard to read output like this: yarn build:prod [2K[1G[1myarn run v1.22.15[22m ... ��� Browser application ...
Arunas Bart's user avatar
  • 2,408
0 votes
0 answers
378 views

Problem while running `yarn build:production` on node version: 21

This is what shows in console When i run yarn build:production Node version: 21 Console: yarn run v1.22.22 $ yarn run clean && cross-env NODE_ENV=production ./node_modules/.bin/webpack --mode ...
raiduzzman's user avatar
0 votes
0 answers
15 views

Problems with firebase predeploy script

I have the following predeploy script in as firebase.json file: { "hosting": [ { "target": "frontend", "predeploy": "...
shkfnly's user avatar
  • 350
0 votes
0 answers
33 views

What is the idiomatic way to redirect npm package.json bin path to the bin path of a dependency?

I am authoring an npm package that distributes native binaries. Native binaries are compiled and therefore they are platform specific. To reduce the download burden on consumers, I have split the ...
David Alsh's user avatar
  • 7,419
0 votes
0 answers
47 views

How do one install UUID in the terminal of Visual Studio Code

I'm trying to install a UUID and link it to my js file so I can be able to generate unique user IDs whenever I want I was already doing my project in Visual Studio Code, so I opened the terminal and ...
Abigail karyah's user avatar
0 votes
1 answer
38 views

unable to install npm package from github

I use a workspace into my app "workspaces": [ "firstapp/web", "secondapp" ] Into second app, into package.json I get into dependencies: "anotherapp&...
Vana's user avatar
  • 877
0 votes
0 answers
23 views

Why npm install give different result folder than yarn install

So I am trying to install specific version of lib-jitsi-meet package with the following commands: npm install "https://github.com/jitsi/lib-jitsi-meet.git#b0356800" yarn add "https://...
Romick's user avatar
  • 163
3 votes
2 answers
2k views

Why does corepack try to install yarn v1.22 by default when v4.11 is the latest?

I can see corepack about to download yarn v1.22 when I run the yarn command: user@laptop:~/empty-directory$ yarn Corepack is about to download https://registry.yarnpkg.com/yarn/-/yarn-1.22.22.tgz. Do ...
M455's user avatar
  • 63
3 votes
2 answers
4k views

Vercel: This project's package.json defines "packageManager": "[email protected]". However the current global version of Yarn is 1.22.22

I host my Nuxt project on Vercel. Everything was fine until now. From now, all builds are throwing this error: [19:25:54.681] Running "vercel build" [19:25:55.722] Vercel CLI 33.6.1 [19:25:...
Boris Grigorov's user avatar
0 votes
0 answers
30 views

yarn.lock ignoring the ^ (caret) symbol?

So I was reading the the yarn.lock and found this "@types/react@*", "@types/react@^16.13.1 || ^17.0.0", "@types/react@^16.13.1 || ^17.0.0 || ^18.0.0", "@types/react@^...
Novellizator's user avatar
  • 14.5k

15 30 50 per page
1
3 4
5
6 7
277