-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with options.outputDirLocalRepo #1438
Comments
Hi @ToppScorer, Your use case is not covered.
|
@ToppScorer I published version v1.16.0 with the first change. Can you try it ? you need to set outputDirLocalRepo in options object. |
@khalilou88 Unfortunately I'm not able to test it, because I run into some trouble when updating from version 1.8.0 to version 1.16.0. There seems to be a regression, the
|
The error should come from this condition:
Could you please add a |
I published version 1.16.1-next.1, with a better condition, maybe it will work for you? |
@khalilou88 This is the output:
But paths are the same, relative from the workspace root. |
@ToppScorer I need more information. I was asking if
The project we are looking for, exists in I suspect |
@khalilou88 Ok, I will try to explain it:
|
We need a reproduction to update the calculation of project root : I do this I think |
I published version 1.17.0-next.0 to add your case. |
@khalilou88 Thanks for the fix, but unfortunately it's still not working. I'm still getting the same error message |
@ToppScorer I created a workspace with your config and can't reproduce your error. |
@khalilou88 I created a fork an updated the structure a little bit, to reproduce: khalilou88/nx-workspace@main...ToppScorer:nx-workspace:main In your example the |
Can you try version 1.9.0, it should work for you. From version 1.10.0 it should break because of this change :https://github.com/khalilou88/jnxplus/pull/1297/files |
@khalilou88 This is working now for me, thanks for the quick help, appreciate it. One question though:
|
This: khalilou88/nx-workspace@93464ae
|
I have the following part in the nx.json:
and in one sub-module this project.json overriding the default task:
When running
npx nx affected --targets backend-deploy
now, I get the following message:with the following error:
Is it expected, that the
outputDirLocalRepo
is appended to every command, even if overridden by a different executor?When I remvove the
{options.outputDirLocalRepo}
from theoutputs
in the nx.json, it's working.The text was updated successfully, but these errors were encountered: