if you just created a needed ingredient, items list may have not been updated yet. pressing . once fixes that, as does any other action.
could it be that?
if not, but you are sure you got (nearby on on you) the book, the skill (and any crosskills mentioned) the ingredients, and you can see the recipe from the crafting menu AND you are standing in a tile sufficiently lit, and still you cannot craft it, do a bug report.