berry icon indicating copy to clipboard operation
berry copied to clipboard

[Bug?]: Yarn doesnt want to Link Firebase

Open JackatDJL opened this issue 1 year ago โ€ข 0 comments

Self-service

  • [ ] I'd be willing to implement a fix

Describe the bug

Ive Recently Switched to Yarn from pnpm Reinstalling my node_modules and the other stuff from scratch.

But for some reason a subcomponent of Firebase doesnt want to get linked and throws errors

To reproduce

  1. Load my Repo
  2. run yarn (note: Firebase is used in the workspace noplus-web)

Environment

jackr@Jacks-PC MINGW64 /d/dev/NoPlus (v1-Development)
$ yarn dlx -q envinfo --preset jest
Internal Error: ENOENT: no such file or directory, open 'C:\Users\jackr\AppData\Local\Temp\xfs-2c1a7db1\dlx-6360\apps\web-app\.env.local'
Error: ENOENT: no such file or directory, open 'C:\Users\jackr\AppData\Local\Temp\xfs-2c1a7db1\dlx-6360\apps\web-app\.env.local'

- Windows
- intel xeon
- radeon rx580
- 32gb ram
- node version v20.11.1
- yarn v 4.5.0
-

Additional context

jackr@Jacks-PC MINGW64 /d/dev/NoPlus (v1-Development) $ yarn โžค YN0000: ยท Yarn 4.5.0 โžค YN0000: โ”Œ Resolution step โžค YN0000: โ”” Completed in 0s 757ms โžค YN0000: โ”Œ Post-resolution validation โžค YN0002: โ”‚ noplus-web@workspace:apps/Web-App doesn't provide @babel/core (p5c8c0), requested by @babel/preset-typescript and other dependencies. โžค YN0002: โ”‚ noplus-web@workspace:apps/Web-App doesn't provide @testing-library/dom (pd4bb7), requested by @testing-library/react. โžค YN0086: โ”‚ Some peer dependencies are incorrectly met by your project; run yarn explain peer-requirements for details, where is the six-letter p-prefixed code. โžค YN0086: โ”‚ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details. โžค YN0000: โ”” Completed โžค YN0000: โ”Œ Fetch step โžค YN0013: โ”‚ 1546 packages were added to the project (+ 233.46 MiB). โžค YN0000: โ”” Completed in 26s 255ms โžค YN0000: โ”Œ Link step node:internal/process/promises:289 triggerUncaughtException(err, true /* fromPromise */); ^

[Error: UNKNOWN: unknown error, link 'D:\dev.yarn\berry\index\a1\a1e9c52af8059502374c7d5be53fee0ba63343a8.dat' -> 'D:\dev\NoPlus\node_modules.store@firebase-app-check-virtual-f5a75c0d28\package\dist\test\setup.d.ts'] { errno: -4094, code: 'UNKNOWN', syscall: 'link', path: 'D:\dev\.yarn\berry\index\a1\a1e9c52af8059502374c7d5be53fee0ba63343a8.dat', dest: 'D:\dev\NoPlus\node_modules\.store\@firebase-app-check-virtual-f5a75c0d28\package\dist\test\setup.d.ts' }

Node.js v20.11.1

JackatDJL avatar Sep 18 '24 18:09 JackatDJL