OpenError: IO error: ( ... path ... ) LOCK: No such file or directory
See original GitHub issueI am just trying to open a db through:
let LevelUP = require('levelup');
let LevelDown = require('leveldown');
let path = require('os').homedir() + '/keys.db';
let db = LevelUP(LevelDown(path));
… and getting an error. The Error object traces as…
message: "IO error: /Users/myname/db/base.db/LOCK: No such file or directory"
OS: MacOS Sierra
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
leveldbjni IO error LOCK: No such file or directory
We're trying to use leveldbjni on redhat machines. It worked flawlessly on ubuntu. But on redhat it gives the following error:.
Read more >Issue 167 in leveldb: Error if directory we're trying to create the ...
OpenError : IO error: ./db/root.db/LOCK: No such file or directory ... path will recursively be created or instead an error being thrown
Read more >db_bench reports "open error: IO error: lock hold by current ...
I'm trying to run the mixgraph benchmark proposed in the FAST20 paper(https://www.usenix.org/system/files/fast20-cao_zhichao.pdf). According to the appendix of ...
Read more >18.1 GroupWise Engine Error Codes
Source: GroupWise engine; file input/output. Explanation: Drive or path not found. Possible Cause: GroupWise cannot find the specified drive or ...
Read more >List Of Mac OS X Error Codes - Krypted
portNotCf = -98 /*driver Open error code (parameter RAM not configured for this connection)*/ ... kENOENTErr = -3201, /* No such file or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
leveldown
doesn’t recursively create the path so you would have to do that some other way.Do you get the same error if you run your app with
sudo
?