[Bug?]: Yarn doesnt want to Link Firebase
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 8.1k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
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
- Load my Repo
- 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the report from the NoPlus v1-Development repository by running yarn, focusing on the Yarn 4.5 link step for the apps/Web-App workspace. Start with the UNKNOWN hard-link error involving @firebase-app-check-virtual and setup.d.ts on Windows; done means the workspace installs and completes linking without that error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- firebase, node.js
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100