
# 定位后报错，日志显示"Cannot read properties of undefined（reading 'position'）"
在components/xr-start/index.wxml文件里找到xr-camera ，然后在它的上一行加上node-id="cameraParent"的节点，如[图1]所示。
图1增加节点   
![](https://support.huaweicloud.com/devg-koomap/zh-cn_image_0000002179405949.png "点击放大")
