I had to modify one of my custom widget that I wrote 2 years ago. It runs fine in Experience Builder Developer edition 1.19. But I cannot make it work in my server.
First I could not find a dist-prod folder. After some searching I realized that I needed now to run: npm run build:for-download which creates a dist-download folder.
Then I copy my widget from this dist-download folder to my wwwroot directory (where the old one was). When I run the new widget in my experience I got the following error:
Cannot read properties of undefined (reading '__set_webpack_public_path__')
Any suggestions on what is happening? Thanks
Solved! Go to Solution.
https://developers.arcgis.com/experience-builder/guide/release-versions/
Actually that is the correct solution, in order for a Custom Widget to run in Enterprise, it must be compiled in a compatible version of Developer Edition. Currently, there is no compatible Enterprise version with 1.19.
https://developers.arcgis.com/experience-builder/guide/release-versions/
Actually that is the correct solution, in order for a Custom Widget to run in Enterprise, it must be compiled in a compatible version of Developer Edition. Currently, there is no compatible Enterprise version with 1.19.
Thanks a lot for reassuring