nativescript Failed to load component from module: ./views/Maps/Maps.xml or file: null

报错 Failed to load component from module: ./views/Maps/Maps.xml or file: null

nativescript Failed to load component from module: ./views/Maps/Maps.xml or file: null
因为本地安装的nativescript -cli版本是5.4的版本,xml文件名后面需要加上-page或者-root
nativescript Failed to load component from module: ./views/Maps/Maps.xml or file: null
或者卸载之前的版本,重新安装5.3的版本即可
sudo npm install -g [email protected]