Error copying query widget to your-extensions

343
0
09-04-2021 01:40 PM
WaterHammer
New Contributor II

Using arcgis-experience-builder-1.5.

I am unable to copy the query widget from /client/dist/widgets/arcgis/query into /client/your-extensions/widgets without getting an error when starting the client. 

Every other widget that I have copied from /client/dist/widgets into /client/your-extensions/widgets works great.

When trying to do that with the query widget, I get the following error message when starting the client:

Module not found: Error: Can't resolve './jimu-ui/advanced/lib/map' in 'C:\Users\Main\Desktop\arcgis-experience-builder-1.5\ArcGISExperienceBuilder\client\your-extensions\widgets\query1\src\setting\components'

I think it's getting stuck on "import { SymbolSelector, SymbolItem } from 'jimu-ui/advanced/lib/map'" in the symbol-picker.tsx but I have been unable to fix.

Any help is greatly appreciated. 

0 Kudos
0 Replies