Lock file already held
# crawlee-js
j
Hi I seem to be running into this issue with lock file being held? I don't need to persist state as I'm returning it in memory
Copy code
javascript
                return callback(Object.assign(new Error('Lock file is already being held'), { code: 'ELOCKED', file }));
                                              ^

Error: Lock file is already being held
    at /Users/jwarder/Workspace/bypigeon-address/node_modules/proper-lockfile/lib/lockfile.js:68:47
    at callback (/Users/jwarder/Workspace/bypigeon-address/node_modules/graceful-fs/polyfills.js:306:20)
    at FSReqCallback.oncomplete (node:fs:202:5)
    at FSReqCallback.callbackTrampoline (node:internal/async_hooks:130:17) {
  code: 'ELOCKED',
  file: '/Users/jwarder/Workspace/bypigeon-address/storage/key_value_stores/default/SDK_SESSION_POOL_STATE.json'
}
`
h
Someone will reply to you shortly. In the meantime, this might help: