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
But running e.g. pants generate-lockfiles --resolve=my-lock Gives the error
10:50:36.15 [ERROR] 1 Exception encountered:
Engine traceback:
in `generate-lockfiles` goal
ValueError: Projects with root directories 'apps/my-other-app/frontend' and 'apps/my-app/frontend' have the same resolve name frontend. This will cause ambiguities.
To disambiguate, either:
* Configure [nodejs].resolves to grant the package.json directories different names.
* Make one package a workspace of the other.
* Re-configure your source root(s).
However the resolve works with the overridden name when deleting one of the projects.
E.g. deleting apps/my-other-app and running pants generate-lockfiles --resolve=my-lock gives
10:58:52.59 [INFO] Wrote lockfile for the resolve `my-lock` to apps/my-app/frontend/package-lock.json
Pants version
2.22 (but reproducible with 2.23.0rc0 and 2.24.0.dev1)
OS
Ubuntu 22.04
Additional info
Add any other information about the problem here, such as attachments or links to gists, if relevant.
The text was updated successfully, but these errors were encountered:
Describe the bug
I have a repo with the following structure
And the following in config
But running e.g.
pants generate-lockfiles --resolve=my-lock
Gives the errorHowever the resolve works with the overridden name when deleting one of the projects.
E.g. deleting apps/my-other-app and running
pants generate-lockfiles --resolve=my-lock
givesPants version
2.22 (but reproducible with 2.23.0rc0 and 2.24.0.dev1)
OS
Ubuntu 22.04
Additional info
Add any other information about the problem here, such as attachments or links to gists, if relevant.
The text was updated successfully, but these errors were encountered: