Coexistence of superconductivity and long-range antiferromagnetic order in the compound ErxMo6Se8