Nativescript RadSideDrawer给没有可用的符号在运行时错误
问题描述:
我在下面nativescript RadSideDrawer DOC: http://docs.telerik.com/devtools/nativescript-ui/Controls/Angular/SideDrawer/getting-started,但一旦我开始在IOS模拟器的应用程序,我收到此错误:Nativescript RadSideDrawer给没有可用的符号在运行时错误
CONSOLE ERROR file:///app/tns_modules/@angular/core/./bundles/core.umd.js:1052:24: ERROR Error: Uncaught (in promise): ReferenceError: Metadata for "TelerikUI.TKSideDrawerView" found but symbol not available at runtime.
[email protected]:///app/tns_modules/nativescript-telerik-ui/sidedrawer/sidedrawer.js:15:38
我试了次,总是得到相同的错误。
这是怎么回事?文档在这里有错误吗?
感谢
答
它看起来像有可能是不一致和不兼容在你的package.json使用的依赖。您可以看看sdkAngular存储库,其中展示了使用RadSideDrawer和nativescript-telerik-ui-pro插件here的其他组件的许多场景。
你可以尝试的其他事情是清理项目,删除platform和node_modules文件夹,然后运行tns run ios
。