mincho-js / mincho

Natural CSS in TypeScript
MIT License
35 stars 0 forks source link

Problem for proceeding `yarn install` #51

Open Jeong-jj opened 1 month ago

Jeong-jj commented 1 month ago

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
black7375 commented 1 month ago

See