You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yarn dlx command fails to run in repo where injectEnvironmentFiles is used. For example this is what I see in my repo:
yarn dlx -q envinfo --preset jest~
Internal Error: ENOENT: no such file or directory, open '/private/var/folders/12/ddq_2m2d1zz43c5nzmmn3q5m0000gp/T/xfs-4608f78b/dlx-43819/.env.yarn'
Error: ENOENT: no such file or directory, open '/private/var/folders/12/ddq_2m2d1zz43c5nzmmn3q5m0000gp/T/xfs-4608f78b/dlx-43819/.env.yarn'
To reproduce
Add injectEnvironmentFiles property in your .yarnrc.yml file
Run yarn dlx depcheck .. depcheck is an example here.
vijaybritto
changed the title
[Bug?]: Multiple issues in environment variables injection
[Bug?]: yarn dlx command fails with injectEnvironmentFiles option in yarnrc
Feb 8, 2025
Self-service
Describe the bug
yarn dlx
command fails to run in repo whereinjectEnvironmentFiles
is used. For example this is what I see in my repo:To reproduce
injectEnvironmentFiles
property in your.yarnrc.yml
fileyarn dlx depcheck .
. depcheck is an example here.Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: