polylith

Oliver Marks 2024-06-24T19:24:37.865929Z

Is there a nice way to track down these errors ?

Error 107: Missing components in the frontend-web project for these interfaces: image-tools
It should not be needed in frontend-web, I am guessing its because its required by something else is there a way to get a tree or more information on why it thinks its missing ?

tengstrand 2024-06-24T19:43:21.383129Z

If frontend-web is used (:required) by a brick in the project, then it will complain with this error. If you execute poly deps brick:image-tools project:frontend-web where image-tools is the name of the component that implements the image-tools (often the same name as the interface) then you will see which brick depends on that component.

Oliver Marks 2024-06-24T20:09:23.368369Z

The frontend-web project doesn't contain the 'image-tools' brick.
That's what i get the component is used by other components how ever

tengstrand 2024-06-24T20:34:09.255889Z

You can run poly ws out:oliver.edn end DM me the file, and I will have a look.

Oliver Marks 2024-06-25T18:20:50.447599Z

Went to bed last night I think i figured this out though    used by      <  image-tools  >  uses
  -----------                     ----
  diagrams                            
I am getting my error running poly tests, I think its because diagrams is mixed clj and cljc, the cljc files are used in frontend-web but the frontend-web tests are executing the clj test for that component but its not included in the deps.edn I guess I need poly/image-tools in my extra deps only for the tests I will give that a try.

Oliver Marks 2024-06-25T19:17:56.086339Z

unfortunately adding it to the test alias did not help, I will have a bit more of a play as I recon its the diagram component which has the mixed code causing issues.

tengstrand 2024-06-25T19:30:43.289139Z

Ok