Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem for proceeding yarn install #51

Open
Jeong-jj opened this issue Jul 28, 2024 · 1 comment
Open

Problem for proceeding yarn install #51

Jeong-jj opened this issue Jul 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Jeong-jj
Copy link
Member

Jeong-jj commented Jul 28, 2024

Packages with the problem

Configs (Vite, Lint, Typescript ..etc)

Describe the bug

When I proceed yarn install script, I get a following error

➤ YN0000: ┌ Fetch step
➤ YN0013: │ 27 packages were added to the project, and 30 were removed (+ 1.74 MiB).
➤ YN0000: └ Completed in 9s 768ms
➤ YN0000: ┌ Link step
node:internal/process/promises:391
    triggerUncaughtException(err, true /* fromPromise */);
    ^

[Error: EXDEV: cross-device link not permitted, link 'C:\Users\Mine\AppData\Local\Yarn\Berry\index\80\80674912e3033be358331910ba27d5812369c2fc.dat' -> 'D:\Mine\mincho-project\mincho.js\node_modules\.store\boxen-npm-8.0.0-0f4620e170\package\license'] {
  errno: -4037,
  code: 'EXDEV',
  syscall: 'link',
  path: 'C:\\Users\\Mine\\AppData\\Local\\Yarn\\Berry\\index\\80\\80674912e3033be358331910ba27d5812369c2fc.dat',
  dest: 'D:\\Mine\\mincho-project\\mincho.js\\node_modules\\.store\\boxen-npm-8.0.0-0f4620e170\\package\\license'
}

Node.js v20.15.1

It could be happen bacause I locate project folder in D drive

Expected behavior

No response

Screenshots

No response

Steps To Reproduce

  1. clone the project in Ddrive
  2. yarn install

then we can face this problem

Additional context

So, I add some options in yarnrc.yml to resolve issue

cacheFolder: ./.yarn/cache # added

checksumBehavior: reset

compressionLevel: mixed

enableGlobalCache: true # changed false to true

globalFolder: ./.yarn/cache # added

nodeLinker: pnpm

plugins:
  - path: .yarn/plugins/@yarnpkg/plugin-outdated.cjs
    spec: "https://mskelton.dev/yarn-outdated/v3"

yarnPath: .yarn/releases/yarn-4.3.1.cjs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

2 participants