-
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
outputDirLocalRepo stopps working with newest nx version (19.8.3) #1319
Comments
Hi @shanon84, I don't think so. The smoke tests using this versions are working fine. Do you use |
well, it worked until I upgraded jnxplus and nx to the newest version. |
Yes you can run |
I tried to put invalid output but I didn't get same error like you:
|
I need the |
here is my repo: |
@shanon84 I couldn't reproduce it. |
Similar issue here in NX repo: nrwl/nx#27899 |
I have deleted node_modules (and caches) and could not reproduce. |
@shanon84 I didn't use
Removing |
Finally, I produce it. I need to disable NX daemon :
|
If you add We need to look in inputs to make it work in your case, but I don't think it's a valid use case ? |
PR here #1321, but need to think about it more |
Well, my idea behind it was to have it in the cache calculation. I think having the existing project files (pom.xml+src folder) and the previous ones should be enough.
|
I am more about throwing an error if |
I like this idea in your repo
I suggest naming it
But |
I have removed the outpitDirLocalRepo from Inputs. Seems to working still as intended. |
Hallo,
after upgrading my dependencies my targets using {option.outputDirLocalRepo} as an output are failing:
`D:\gits\monorepo\node_modules\nx\src\hasher\native-task-hasher-impl.js:32
const plans = this.planner.getPlansReference(tasks.map((t) => t.id), taskGraph);
^
Error: "{options.outputDirLocalRepo}" is an invalid fileset.
All filesets have to start with either {workspaceRoot} or {projectRoot}.
For instance: "!{projectRoot}/**/*.spec.ts" or "{workspaceRoot}/package.json".
If "{options.outputDirLocalRepo}" is a named input, make sure it is defined in nx.json.`
A quickfix seems to be to add
"{options.outputDirLocalRepo}": []
into the namedImports
The text was updated successfully, but these errors were encountered: