Select to view content in your preferred language

Custom widget - Unable to download the zip file

103
2
4 weeks ago
Labels (1)
Thomas_Puthusserry
Frequent Contributor

I am trying to test a custom widget deployment in ArcGIS Enterprise 11.1

Node version: 16.20.2 and EB version 1.10

Created  a sample widget locally and published it. Functionality works as expected.

When trying to download the zip file, it is not working. The error I see in the server folder command prompt is:

  [Error: EPERM: operation not permitted, rmdir 'C:\Temp\Apps\EB10\server\temp\1\cdn\1\assets'] {
errno: -4048,
code: 'EPERM',
syscall: 'rmdir',
path: 'C:\\Temp\\Apps\\EB10\\server\\temp\\1\\cdn\\1\\assets'
}

Any idea what this is and how to solve it?

 

Thanks in advance

0 Kudos
2 Replies
JeffreyThompson2
MVP Regular Contributor

https://community.esri.com/t5/arcgis-experience-builder-questions/possible-solution-if-the-exb-downl...

There are a bunch of possible causes of this problem. (Feels like its been sorted out in more recent versions.) Take a look at this thread it has a number of possible solutions. Start by trying to run your Command Prompt in Admin mode. That's the simplest possible solution.

GIS Developer
City of Arlington, Texas
0 Kudos
Thomas_Puthusserry
Frequent Contributor

Thanks @JeffreyThompson2 for your response. It turned out that I need to do this in a different way as explained here: https://www.esri.com/arcgis-blog/products/arcgis-enterprise/developers/add-experience-builder-custom...

In this case I got the compiled version of the widgets from the dist-prod folder which is hosted in the webserver and could add the manifest.json directly in the enterprise portal. 

 

0 Kudos