rmdirSync:fail Cannot assign to read only property 'stackTraceLimit' of function 'function Error() { [native code] }';at api request success callback function
Error: rmdirSync:fail Cannot assign to read only property 'stackTraceLimit' of function 'function Error() { [native code] }'
at rmdirSync (https://lib/WASubContext.js:1:687302)
at Object.e.<computed> (https://lib/WASubContext.js:1:691192)
at Object.p.<computed> [as rmdirSync] (https://lib/WASubContext.js:1:1148486)
at Object.m [as remove] (https://miniprogram:///utils/work-stage-cache.js:269:12)
at _e.saveInvenroryAndDeleteFile (https://miniprogram:///pages/index/truck-tyre-inventory/truck-tyre-inventory.js:1010:31)
at success (https://miniprogram:///pages/index/truck-tyre-inventory/truck-tyre-inventory.js:437:14)
at success (https://miniprogram:///utils/request.js:72:11)
at Object.o.<computed> (https://lib/WASubContext.js:1:1145922)
at Function.<anonymous> (https://lib/WASubContext.js:1:434537)
at C (https://lib/WASubContext.js:1:390000)
麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
Error: renameSync:fail Cannot assign to read only property 'stackTraceLimit' of function 'function Error() { [native code] }'
at renameSync (https://lib/WASubContext.js:1:689943)
at Object.e.<computed> (https://lib/WASubContext.js:1:691192)
at Object.p.<computed> [as renameSync] (https://lib/WASubContext.js:1:1148486)
at https://miniprogram:///utils/work-stage-cache.js:214:39
at e (https://miniprogram:///utils/work-stage-cache.js:207:28)
at e (https://miniprogram:///utils/work-stage-cache.js:204:7)
at https://miniprogram:///utils/work-stage-cache.js:225:9
at e (https://miniprogram:///utils/work-stage-cache.js:207:28)
{"locationEnabled":true,"screenWidth":353,"benchmarkLevel":8,"screenHeight":706,"windowHeight":706,"bluetoothEnabled":false,"language":"zh_CN","microphoneAuthorized":true,"version":"7.0.10","cameraAuthorized":true,"system":"Android 9","fontSizeSetting":16,"locationAuthorized":true,"pixelRatio":3.0625,"notificationAuthorized":true,"model":"SKR-A0","statusBarHeight":36,"deviceOrientation":"portrait","wifiEnabled":true,"safeArea":{"width":353,"right":353,"top":0,"left":0,"bottom":706,"height":706},"brand":"blackshark","windowWidth":353,"screenTop":0,"platform":"android","SDKVersion":"2.9.3","devicePixelRatio":3.0625}