Registration failed for type 'ons-template'. A type with that name is already registered. というエラーが出ています。
-
プログラムは、ある程度動いているのですが、コンソールに次のエラーメッセージが出ています。
Registration failed for type ‘ons-template’. A type with that name is already registered.
at CustomElementRegistry.CERDefine [as define] (https://preview-57f-57f306767e21930a3c6d0fc2-5896e26bff2af24665c8144c.monaca.mobi/www/lib/onsenui/js/onsenui.min.js:2:25602)
at https://preview-57f-57f306767e21930a3c6d0fc2-5896e26bff2af24665c8144c.monaca.mobi/www/lib/onsenui/js/onsenui.min.js:6:15344
at https://preview-57f-57f306767e21930a3c6d0fc2-5896e26bff2af24665c8144c.monaca.mobi/www/lib/onsenui/js/onsenui.min.js:4:3655
at https://preview-57f-57f306767e21930a3c6d0fc2-5896e26bff2af24665c8144c.monaca.mobi/www/lib/onsenui/js/onsenui.min.js:4:3665<ons-template id="*****.html"></ons-template>のペアは6か所ありますが、問題点は特に見つからない感じです。
どのようなことをチェックすればよろしいでしょうか?
-
現在はやはり、 type 'ons-template’に関して次のエラーが出ています。
Uncaught DOMException: Failed to execute ‘registerElement’ on ‘Document’: Registration failed for type ‘ons-template’. A type with that name is already registered.
at CustomElementRegistry.CERDefine [as define] (https://preview-57f-57f306767e21930a3c6d0fc2-5896e26bff2af24665c8144c.monaca.mobi/www/lib/onsenui/js/onsenui.min.js:2:25602)
at https://preview-57f-57f306767e21930a3c6d0fc2-5896e26bff2af24665c8144c.monaca.mobi/www/lib/onsenui/js/onsenui.min.js:6:15344
at https://preview-57f-57f306767e21930a3c6d0fc2-5896e26bff2af24665c8144c.monaca.mobi/www/lib/onsenui/js/onsenui.min.js:4:3655
at https://preview-57f-57f306767e21930a3c6d0fc2-5896e26bff2af24665c8144c.monaca.mobi/www/lib/onsenui/js/onsenui.min.js:4:3665