app packaging fails if custom widgets share common root in widget id

0
Hi. We have a pluggable widget sn.directbinaryuploader.DirectBinaryUploader Recently I created a dojo widget sn.other.ClassicWidgetProperties When either of the widgets is added alone to the app pages it works fine. If I rename the common root “sn” in one of the widgets it also works fine. When both widgets were added to app pages app packaging fails with ERROR: Could not build your widgets. This may be due to outdated widgets in your project. You can check which widgets failed to build by clicking Project > Tools > Check Widgets. “Check widgets” fails with The following widgets will not work in a production environment. Please update them. sn.ClassicWidgetProperties.mpk  deployment\log\check-widgets\sn.ClassicWidgetProperties.log is below: Build started: Thu Oct 06 2022 18:14:50 GMT+0300 (Москва, стандартное время) Build application version: 1.15.0 (d545ad7) Messages: info(107) Package Version: package: dijit; version: 1.15.0 package: dojo; version: 1.15.0 warn(205) Module not tagged as pure AMD yet it contains AMD API applications. module: dojox/main module: mxui/dom module: mxui/mxui module: mxui/html/parser module: mxui/lib/ColumnResizer module: mxui/mixin/_Stateful module: mxui/widget/_Button module: mxui/widget/_WidgetBase module: mendix/lang module: mendix/validator module: mendix/lib/MxContext module: mendix/lib/MxMetaObject module: mendix/lib/ObjectValidation module: big/big module: sn/directbinaryuploader/DirectBinaryUploader module: sn/other/ClassicWidgetProperties module: widgets/widgets warn(209) Missing or empty package.json. filename: C:/Program Files/Mendix/9.5.1.27523/modeler/tools/node/dojox/package.json filename: C:/Program Files/Mendix/9.5.1.27523/modeler/tools/node/mxui/package.json filename: C:/Program Files/Mendix/9.5.1.27523/modeler/tools/node/mendix/package.json filename: C:/Program Files/Mendix/9.5.1.27523/modeler/tools/node/big/package.json filename: C:/Users/basin/Documents/Mendix/DirectBinaryUploader-main/deployment/web/widgets/sn/package.json filename: C:/Users/basin/Documents/Mendix/DirectBinaryUploader-main/deployment/data/tmp/widgets/package.json warn(216) dojo/has plugin resource could not be resolved during build-time. plugin resource id: dojo-bidi?./_BidiMixin; reference module id: dijit/_WidgetBase plugin resource id: dojo-firebug?./_firebug/firebug; reference module id: dojo/main plugin resource id: dom-addeventlistener?:./aspect; reference module id: dojo/on plugin resource id: host-browser?dom-addeventlistener?:../on:; reference module id: dojo/request/watch warn(224) A plugin dependency was encountered but there was no build-time plugin resolver. module: dijit/Fieldset; plugin: dojo/query module: dijit/RadioMenuItem; plugin: dojo/query module: dijit/Tree; plugin: dojo/query module: dijit/form/_RadioButtonMixin; plugin: dojo/query module: dojo/request; plugin: dojo/request/default module: dojo/request/node; plugin: dojo/node module: dojo/request/node; plugin: dojo/node module: dojo/request/node; plugin: dojo/node module: dojo/request/node; plugin: dojo/node module: dojo/request/registry; plugin: dojo/request/default error(311) Missing dependency. module: sn/directbinaryuploader/DirectBinaryUploader; dependency: react module: sn/directbinaryuploader/DirectBinaryUploader; dependency: react-dom module: sn/directbinaryuploader/DirectBinaryUploader; dependency: big.js Layer Contents: mxui/mxui: mxui/mxui mxui/dom mxui/html/parser mxui/widget/_Button mxui/widget/_WidgetBase mxui/mixin/_Stateful mxui/lib/ColumnResizer mendix/lang mendix/validator mendix/lib/MxContext mendix/lib/MxMetaObject mendix/lib/ObjectValidation big/big dijit/BackgroundIframe dijit/main dijit/Destroyable dijit/Tooltip dijit/_base/manager dijit/registry dijit/place dijit/Viewport dojo/window dijit/_Widget dijit/_WidgetBase dojo/Stateful dijit/_OnDijitClickMixin dijit/a11yclick dojo/touch dijit/_FocusMixin dijit/focus dijit/a11y dojo/uacss dijit/hccss dojo/hccss dijit/_TemplatedMixin dojo/cache dojo/text dojo/request dojo/request/default dojo/string dijit/_AttachMixin dijit/templates/Tooltip.html dijit/_Contained dijit/_Container dojo/fx dojo/promise/all widgets/widgets: widgets/widgets sn/other/ClassicWidgetProperties dijit/layout/LinkPane dijit/layout/ContentPane dijit/layout/_ContentPaneResizeMixin dijit/layout/utils dojo/html dojo/parser dojo/_base/url dojo/date/stamp dojo/i18n dijit/nls/loading dojo/dojo: dojo/dojo dojo/main dojo/_base/kernel dojo/global dojo/has dojo/_base/config dojo/sniff dojo/_base/lang dojo/_base/array dojo/ready dojo/domReady dojo/_base/declare dojo/_base/connect dojo/on dojo/topic dojo/Evented dojo/aspect dojo/_base/event dojo/dom-geometry dojo/_base/window dojo/dom dojo/dom-style dojo/mouse dojo/_base/sniff dojo/keys dojo/_base/Deferred dojo/Deferred dojo/errors/CancelError dojo/errors/create dojo/promise/Promise dojo/promise/instrumentation dojo/promise/tracer dojo/when dojo/_base/json dojo/json dojo/_base/Color dojo/_base/browser dojo/_base/unload dojo/_base/html dojo/dom-attr dojo/dom-prop dojo/dom-construct dojo/dom-class dojo/_base/NodeList dojo/query dojo/selector/_loader dojo/NodeList-dom dojo/_base/xhr dojo/io-query dojo/dom-form dojo/request/watch dojo/request/util dojo/errors/RequestError dojo/errors/RequestTimeoutError dojo/request/xhr dojo/request/handlers dojo/_base/fx dojo/_base/loader Process finished normally errors: 3 warnings: 37 build time: 2.334 seconds  
asked
0 answers