You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have starting s3rver with option resetOnClose: true
exportasyncfunctionrunS3Server(silent=true){// Set NODE_OPTIONS environment variable to use openssl-legacy-providerprocess.env.NODE_OPTIONS='--openssl-legacy-provider';constdirectoryTargetPath=pathLib.resolve(__dirname,'testdata-tmp','file-structure',);constcorsConfig=pathLib.resolve(__dirname,'s3rver','cors.xml');constinstance=newS3rver({port: 4569,address: 'localhost',silent: silent,directory: directoryTargetPath,resetOnClose: true,sslEnabled: false,configureBuckets: [{name: 'supported-filestypes',configs: [fs.readFileSync(corsConfig)],},],});awaitinstance.run();returninstance;}
and this is error on Windows - github actions
Error: EPERM: operation not permitted, lstat 'D:\a\tagspaces\tagspaces\tests\testdata-tmp\file-structure\supported-filestypes\.ts\sample.avif.jpg._S3rver_object'
at Object.lstatSync (D:\a\tagspaces\tagspaces\node_modules\graceful-fs\polyfills.js:319:16)
at rimrafSync (D:\a\tagspaces\tagspaces\node_modules\s3rver\node_modules\fs-extra\lib\remove\rimraf.js:237:18)
at D:\a\tagspaces\tagspaces\node_modules\s3rver\node_modules\fs-extra\lib\remove\rimraf.js:291:39
at rmkidsSync (D:\a\tagspaces\tagspaces\node_modules\s3rver\node_modules\fs-extra\lib\remove\rimraf.js:291:26)
at rmdirSync (D:\a\tagspaces\tagspaces\node_modules\s3rver\node_modules\fs-extra\lib\remove\rimraf.js:281:7)
at fixWinEPERMSync (D:\a\tagspaces\tagspaces\node_modules\s3rver\node_modules\fs-extra\lib\remove\rimraf.js:167:5)
at rimrafSync (D:\a\tagspaces\tagspaces\node_modules\s3rver\node_modules\fs-extra\lib\remove\rimraf.js:260:26)
at D:\a\tagspaces\tagspaces\node_modules\s3rver\node_modules\fs-extra\lib\remove\rimraf.js:291:39
at rmkidsSync (D:\a\tagspaces\tagspaces\node_modules\s3rver\node_modules\fs-extra\lib\remove\rimraf.js:291:26)
at rmdirSync (D:\a\tagspaces\tagspaces\node_modules\s3rver\node_modules\fs-extra\lib\remove\rimraf.js:281:7)
at fixWinEPERMSync (D:\a\tagspaces\tagspaces\node_modules\s3rver\node_modules\fs-extra\lib\remove\rimraf.js:167:5)
at Object.rimrafSync (D:\a\tagspaces\tagspaces\node_modules\s3rver\node_modules\fs-extra\lib\remove\rimraf.js:260:26)
at FilesystemStore.reset (D:\a\tagspaces\tagspaces\node_modules\s3rver\lib\stores\filesystem.js:108:10)
at S3rver.reset (D:\a\tagspaces\tagspaces\node_modules\s3rver\lib\s3rver.js:132:16)
at Server.<anonymous> (D:\a\tagspaces\tagspaces\node_modules\s3rver\lib\s3rver.js:171:14)
The text was updated successfully, but these errors were encountered:
I have starting s3rver with option
resetOnClose: true
and this is error on Windows - github actions
The text was updated successfully, but these errors were encountered: