Lockfile generated by @nx/vite:build
is invalid with patched dependencies present
#18012
Closed
1 of 4 tasks
Labels
Current Behavior
When using Yarn 3 in a Nx workspace, running @nx/vite:build with generateLockfile generates a lockfile that contains an empty package name when a dependency is patched.
Empty package names are invalid and cause
yarn
to error out when they are present:Expected Behavior
@nx/vite:build
should be generating validyarn.lock
files when one of the dependencies is patched.GitHub Repo
https://github.com/rosettaroberts-impact/nx-vite-lockfile-issue
Steps to Reproduce
Ensure that yarn 3 and node 18 are installed:
Nx Report
Failure Logs
No response
Operating System
Additional Information
This likely has the same underlying cause as #17873.
The text was updated successfully, but these errors were encountered: