Error: There are multiple entries in the deeplink config with the name of Page

Error: There are multiple entries in the deeplink config with the name of Page

我最近将一些文件从一个项目移到另一个项目,之前一切正常。现在我在尝试 ionic serve.

时遇到此错误

它指出错误 AddChemicalPage,但那是页面目录中的第一页。它必须是 ionic-app-script,但不确定我做错了什么。

感谢帮助!

所以我忽略了 Cordova CLI:未安装,我假设这是导致问题的原因。 npm install -g cordova 之后一切正常。