That's not the issue, you are storing an array as the export variable.
So the question is how do you store an actual node in an array? Either you store a NodePath that acts as the address to the nodes location so you can use get_node() to get it with. Or you store a reference to the Node, not an actual node itself, in the array.