无法找到像SignInPage这样的离子和骆驼等类名

时间:2018-02-23 08:43:13

标签: angular ionic-framework

我已经创建了一个包含ionic g page SignInPage的页面,在我的主页中,我添加了一个检查,以验证是否存在存储(离子存储)变量&user 39用户登录&#39 ;并且应该显示索引页面或登录页面。

现在我收到错误,无法找到SignInPage,ionic serve告诉我There are multiple entries in the deeplink config with the name of SignInPage

sign-in.ts我已将@IonicPage()替换为@IonicPage({ name: 'SignInPage'}),但这并没有帮助。 (根据:https://forum.ionicframework.com/t/there-are-multiple-entries-in-the-deeplink-config-with-the-segment-of-main-error-after-latest-update/107111

我想我需要为骆驼外壳配置一些东西?我该如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

这似乎是一个缓存问题。重新运行ionic serve之后,它就像我预期的那样工作。