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
{{ message }}
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.
Hey,
I have an array of strings, each string is unique identifier, based on those as id I want to create identity.
My code looks like this:
for(letindex=0;index<array.length;index++){conststring=array[index];awaitIdentityProvider.createIdentity({ id })}
The first iteration passed, but the second one throws:
/home/app/node_modules/level-packager/node_modules/levelup/lib/levelup.js:119
return callback(new OpenError(err))
Error [OpenError]: IO error: lock orbitdb/identity/identitykeys/LOCK: already held by process
at /home/app/node_modules/level-packager/node_modules/levelup/lib/levelup.js:119:23
at /home/app/node_modules/level-packager/node_modules/abstract-leveldown/abstract-leveldown.js:38:14
at /home/app/node_modules/level-packager/node_modules/deferred-leveldown/deferred-leveldown.js:31:21
at /home/app/node_modules/encoding-down/node_modules/abstract-leveldown/abstract-leveldown.js:38:14
at /home/app/node_modules/leveldown/node_modules/abstract-leveldown/abstract-leveldown.js:38:14
Emitted 'error' event on LevelUP instance at:
at /home/app/node_modules/level-packager/node_modules/levelup/lib/levelup.js:60:19
at /home/app/node_modules/level-packager/node_modules/levelup/lib/levelup.js:119:14
at /home/app/node_modules/level-packager/node_modules/abstract-leveldown/abstract-leveldown.js:38:14
My goal is to use this identity with ipfs-log, to store additional data, then at later point to get the identity, then the ipfs-log and my data.
I saw Level/levelup#667 but still cant figure out how to fix this one. Any ideas?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey,
I have an array of strings, each string is unique identifier, based on those as id I want to create identity.
My code looks like this:
The first iteration passed, but the second one throws:
My goal is to use this identity with ipfs-log, to store additional data, then at later point to get the identity, then the ipfs-log and my data.
I saw Level/levelup#667 but still cant figure out how to fix this one. Any ideas?
The text was updated successfully, but these errors were encountered: