Article - CS335723
Error "Uncaught DOMException" when following steps in Getting Started Tutorial from ThingWorx Visual SDK Guide
Modified: 17-Dec-2020
Applies To
- ThingWorx Platform 9.0
Description
- Following the steps from ThingWorx Visual SDK tutorial at http://support.ptc.com/help/thingworx_hc/visual_sdk/Tutorial/CreatingWebComponentWidgetTutorial is not successful after execution of polymer serve command
- Accessing the demo url lead to a page without the widget.
- Developer Tools > Console shows error :
Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "dom-module" has already been used with this registry
at http://127.0.0.1:8081/components/@polymer/polymer/lib/elements/dom-module.js:176:16
at http://127.0.0.1:8081/components/@polymer/polymer/lib/elements/dom-module.js:176:16
This is a printer-friendly version of Article 335723 and may be out of date. For the latest version click CS335723