I found out what is happening. This is the way truffle works. I deployed the ERC20 once and then slowly eliminated lines. It kept deploying because the original once had worked. When I changed the filename on the sol file for the ERC20 it stopped deploying saying - Error: Could not find artifacts for ./x2 from any sources. I am unsure what that means but that is why I could deploy and you could not.
– Trevor Lee OakleyMar 13 '18 at 15:35