Cannot implicitly convert type 'UnityEngine.GameObject' to 'UnityEngine.Vector3

I have this error, I dont kow where is problem. Error line bold

void Move(){

	if (targetNode != currentNode && targetNode != null) {

		if (OverShotTarget ()) {

			currentNode = targetNode;

			**transform.position = GetPortal (currentNode.transform.position);**

			GameObject otherPortal = GetPortal (currentNode.transform.position);

			if (otherPortal != null) {
				transform.localPosition = otherPortal.transform.position;
				currentNode = otherPortal.GetComponent<Node> ();
			}

			targetNode = ChooseNextNode ();
			previousNode = currentNode;
			currentNode = null;
		} else {

			transform.localPosition += (Vector3)direction * moveSpeed * Time.deltaTime;
		}

	}

}

GetPortal() is returning a GameObject, but you are trying to assign it to transform.position, which is a Vector3. If you want to change the transform’s position to the portal’s position, you should do

transform.position = GetPortal().transform.position;