Hi All,
I am trying to have a Web AppBuilder user download some apps so that they can be imported by another user.
This workflow is working correctly for one app but not for another.
When she tries to download the offending app the UI just spins and the follow error appears several times in the console:
Unhandled rejection Error: EPERM: operation not permitted, unlink 'C:\WebAppBuil
derForArcGIS\server\apps\zips\8.zip'
at Object.fs.unlinkSync (fs.js:1061:18)
at fixWinEPERMSync (C:\WebAppBuilderForArcGIS\server\node_modules\fs-extra\l
ib\remove\rimraf.js:169:13)
at Object.rimrafSync [as removeSync] (C:\WebAppBuilderForArcGIS\server\node_
modules\fs-extra\lib\remove\rimraf.js:260:26)
at findApps.then.t.send.success (C:\WebAppBuilderForArcGIS\server\rest\apps.
js:1:26068)
at tryCatcher (C:\WebAppBuilderForArcGIS\server\node_modules\bluebird\js\rel
ease\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\WebAppBuilderForArcGIS\server\node_
modules\bluebird\js\release\promise.js:512:31)
at Promise._settlePromise (C:\WebAppBuilderForArcGIS\server\node_modules\blu
ebird\js\release\promise.js:569:18)
at Promise._settlePromise0 (C:\WebAppBuilderForArcGIS\server\node_modules\bl
uebird\js\release\promise.js:614:10)
at Promise._settlePromises (C:\WebAppBuilderForArcGIS\server\node_modules\bl
uebird\js\release\promise.js:693:18)
at Promise._fulfill (C:\WebAppBuilderForArcGIS\server\node_modules\bluebird\
js\release\promise.js:638:18)
at Promise._resolveCallback (C:\WebAppBuilderForArcGIS\server\node_modules\b
luebird\js\release\promise.js:454:14)
at Promise._settlePromiseFromHandler (C:\WebAppBuilderForArcGIS\server\node_
modules\bluebird\js\release\promise.js:524:17)
at Promise._settlePromise (C:\WebAppBuilderForArcGIS\server\node_modules\blu
ebird\js\release\promise.js:569:18)
at Promise._settlePromise0 (C:\WebAppBuilderForArcGIS\server\node_modules\bl
uebird\js\release\promise.js:614:10)
at Promise._settlePromises (C:\WebAppBuilderForArcGIS\server\node_modules\bl
uebird\js\release\promise.js:693:18)
at Promise._fulfill (C:\WebAppBuilderForArcGIS\server\node_modules\bluebird\
js\release\promise.js:638:18)
Any suggestions on how to troubleshoot this?
WAB Dev Version 2.8.
Thank you much!
Jill
Solved! Go to Solution.
Jill,
Try deleting everything in the C:\WebAppBuilderForArcGIS\server\apps\zips folder and try again.
Jill,
Try deleting everything in the C:\WebAppBuilderForArcGIS\server\apps\zips folder and try again.
That worked! Thank you so much!
Now, when I attempt to Import this app I get the following errors in the browser console. Nothing in the log file.
Do you have any advice on how to go about troubleshooting this?
Jillian,
Sorry I have not seen that error before. Did you do any manual edits to your apps main config.json file?