Error in home-page.xml - "navigatingTo is not allowed here"


#1

Hello all,

I’ve just started with NativeScript and generated a project with the blank-ts template; it seems out of date, but I’m not sure why.
I have this line in my ‘home-page.xml’ file:
<Page class=“page” xmlns=“http://schemas.nativescript.org/tns.xsd” navigatingTo=“onNavigatingTo”/>

The error, mentioned in the title, has arisen. The program runs just fine, but I’m wondering why the error exists? I can’t seem to find any (up to date) XML documentation regarding program entry.

Thank you in advance.


#2

I tried the same template with latest CLI, I was not able to reproduce the issue. Do you have a repo where this issue can be reproduced? Also please share your environment and versions you are using.