Hello,
I don't use gameFbxExporter, are those nodes created automatically by Maya? or is this an export preset that you have been given? If those are given,maybe the export preset is incompatible with your version.
You also have a white space here:
nodes =
cmds.ls(type="gameFbxExporter
")
, in case this is the actual command you are using within maya.
Generally if you cannot delete a node inside Maya, it tends to be because you are not supposed to do so, be it because it is part of a reference, or because someone locked the node.
If you want to delete that node, you can try unlocking it first:
node = "gameExporterPreset1"
cmds.lockNode(node, lock=False)