In previous versions of Experience Builder (Developer Edition) I was able to make a duplicate of the normal arcgis-map widget that ships with the Dev Edition. It was easy to copy it into the your-extensions/widgets folder, rename the folder and namein the manifest. We then have some extra code and modifications to the widget. With 1.15, this is running me into a lot of errors, just with the duplication, and before I put my own code in it. The error is very long, but here's a snippet:
ERROR in ./your-extensions/widgets/arcgis-map-custom/src/message-actions/filter-action-setting.tsx 11:0-106
Module not found: Error: Can't resolve 'jimu-for-builder/lib/message-actions/components/choose-connection-type' in 'C:\Users\x\Desktop\arcgis-experience-builder-1.15\client\your-extensions\widgets\arcgis-map-custom\src\message-actions'
resolve 'jimu-for-builder/lib/message-actions/components/choose-connection-type' in 'C:\Users\x\Desktop\arcgis-experience-builder-1.15\client\your-extensions\widgets\arcgis-map-custom\src\message-actions'
Parsed request is a module
using description file: C:\Users\x\Desktop\arcgis-experience-builder-1.15\client\package.json (relative path: ./your-extensions/widgets/arcgis-map-custom/src/message-actions)
Has anyone seen this error yet? I'm wondering if the changes in this widget are putting it in the same private library response from Esri where it can't be duplicated like the Analysis widget.
This can be solved by following the post by @MichaelLev here:
@GavinRehkemper Maybe a patch should be provided?