Error: Failed to load package ''"

I found the problem! it was in the way it was being compiled. I changed some settings in the packaging settings and it worked perfectly