Questions tagged [yarnpkg-v3]

Use this tag for version specific questions about Yarn version 3.x. Yarn is an open-source JavaScript package manager created by Facebook, Exponent, Google, and Tilde. When using this tag also include the more generic [yarnpkg] tag where possible. More info here: https://dev.to/arcanis/yarn-3-0-performances-esbuild-better-patches-e07

35 questions
0
votes
1 answer

Yarn install results in the error "Internal Error: Expected an indexed object, got a string instead. Does your file follow Yaml's rules?"

When trying to run the command yarn install, the following error message is displayed: "Internal Error: Expected an indexed object, got a string instead. Does your file follow Yaml's rules?" My .yarnrc.yml is syntactically correct. What is the…
Dirk Diggler
  • 863
  • 1
  • 10
  • 22
0
votes
1 answer

How can I list all package versions from yarn.lock file in yarn3.x?

I have several 'latest' and '^x.x.x' packages for a package that's going into maintenance mode. For stability purposes, I'd like to fix all package versions. After spending some time combing through the yarn.lock file, I noticed multiple versions of…
Remy
  • 822
  • 12
  • 18
0
votes
1 answer

Prevent resolving cyclic dependency to local workspace

I have a package, which offers basic utilities. It has a dev-dependency on a tool, which helps build it. That tool in turn needs features from the package. The problem is, that during development of the package, the dependency of itself gets…
Doofus
  • 952
  • 4
  • 19
0
votes
1 answer

yarn berry foreach workspaces not building packages in order specified in package.json

In Yarn 1, yarn workspaces run build would use the order specified in the workspaces field of the package.json file to build each package. For example, if I had the order specified like this: "workspaces": { "packages" [ "packages/c", …
dagda1
  • 26,856
  • 59
  • 237
  • 450
0
votes
1 answer

yarn2 rollup -c Cannot find module "react"

tsconfig.json { "compilerOptions": { "declaration": true, "declarationDir": "dist/types", // dist폴더에 ts 타입 속성을 빌드한다. "target": "es5", // ES 대상버전 "lib": ["dom", "dom.iterable", "esnext"], // 컴파일에 포함될 라이브러리 파일 목록 …
djangoboi
  • 28
  • 4
1 2
3