There may have been some water or grease leftover in the pan that you used. Be sure that you are using a clean and dry pan to make the ganache.