Open Jeong-jj opened 1 month ago
Configs (Vite, Lint, Typescript ..etc)
When I proceed yarn install script, I get a following error
yarn install
➤ 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
No response
then we can face this problem
So, I add some options in yarnrc.yml to resolve issue
yarnrc.yml
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
See
Packages with the problem
Configs (Vite, Lint, Typescript ..etc)
Describe the bug
When I proceed
yarn install
script, I get a following errorIt could be happen bacause I locate project folder in D drive
Expected behavior
No response
Screenshots
No response
Steps To Reproduce
then we can face this problem
Additional context
So, I add some options in
yarnrc.yml
to resolve issue