Hi! A player reported this load error with Phosphorus 0.3.9 and my mod AluminiumX:
Error in assignID: item with name 'sodium-hydroxide' does not exist.
At ROOT.recipe.red-phosphorus-washing.ingredients[2].name
In AluminiumX, sodium-hydroxide is a fluid. In integrations/required-materials.lua, add() falls back to type "item" when no kind is passed, so washing() and the phosphine host add it with the wrong type. It only triggers when sodium hydroxide is reachable by Phosphorus processing. I reproduced it on Factorio 2.1.24 by moving my sodium hydroxide research earlier with a small test mod.
This one-line change in add() fixed the load in my local test:
recipe.ingredients[#recipe.ingredients + 1] = {type = kind or (data.raw.fluid[name] and "fluid") or "item", name = name, amount = amount}
With it, both recipes take 1 sodium hydroxide as a fluid. You may want a different amount for a fluid, so I leave the balance to you. Would you be open to adding this? Thanks!