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
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.
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.