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
I was setting up a reproduction for a bug and discovered the repro directory may have an issue itself.
Steps to reproduce
Clone the repo
cd one/repro
run yarn install
Yarn shows an error:
Usage Error: The nearest package directory (/private/tmp/one/repro) doesn't seem to be part of the project declared in /private/tmp/one.
- If /private/tmp/one isn't intended to be a project, remove any yarn.lock and/or package.json file there.
- If /private/tmp/one is intended to be a project, it might be that you forgot to list repro in its workspace configuration.
- Finally, if /private/tmp/one is fine and you intend repro to be treated as a completely separate project (not even a workspace), create an empty yarn.lock file in it.
Yarn version – 4.5.3
Adding an empty yarn.lock as suggested fixes the issue
The text was updated successfully, but these errors were encountered:
I was setting up a reproduction for a bug and discovered the
repro
directory may have an issue itself.Steps to reproduce
cd one/repro
yarn install
Yarn shows an error:
Yarn version – 4.5.3
Adding an empty
yarn.lock
as suggested fixes the issueThe text was updated successfully, but these errors were encountered: