Just to add an Enspelled Weapon has a limitation regarding the school of magic:
The spell is determined when the weapon is created and must belong to the Conjuration, Divination, Evocation, Necromancy, or Transmutation school of magic.
And for future visitors, here are a couple of related threads:
Do you have to have the spell known/prepared to make an enspelled item with that spell attached?
I'm assuming you do, but can't find confirmation.
Yes if If a magic item allows its user to cast any spells from it, you must have all those spells prepared every day you spend crafting the item.
Treasure - Dungeon Master’s Guide - Dungeons & Dragons - Sources - D&D Beyond
Just to add an Enspelled Weapon has a limitation regarding the school of magic:
And for future visitors, here are a couple of related threads: