Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redisdown doesn't support level@8 architecture #43

Open
darkpencil1 opened this issue Sep 12, 2022 · 2 comments
Open

redisdown doesn't support level@8 architecture #43

darkpencil1 opened this issue Sep 12, 2022 · 2 comments

Comments

@darkpencil1
Copy link

darkpencil1 commented Sep 12, 2022

Hey, when copy pasting the current README example, we get this kind of an error.

 throw error
   ^
Error [InitializationError]: First argument must be an abstract-leveldown compliant store
   at new LevelUP (C:\folders\node_modules\levelup\lib\levelup.js:41:13)      
   at LevelUP (C:\folders\node_modules\levelup\lib\levelup.js:25:12)
   at Object.<anonymous> (C:\folders\foobar.js:6:10)
   at Module._compile (internal/modules/cjs/loader.js:1085:14)
   at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
   at Module.load (internal/modules/cjs/loader.js:950:32)
   at Function.Module._load (internal/modules/cjs/loader.js:790:12)
   at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
   at internal/main/run_main_module.js:17:47

According to this thread fergiemcdowall/search-index#591

"The whole levelup/leveldown ecosystem has undergone a upgrade recently, with the unfortunate consequence that many of the old *downs are no longer usable."

Any plans to upgrade to level@8 architecture?

@darkpencil1 darkpencil1 changed the title README example doesn't work redisdown doesn't support level@8 architecture Sep 12, 2022
@seigel
Copy link
Collaborator

seigel commented Sep 12, 2022

Wow. You are right, things have changed quite a lot! How familiar are you with the new architecture? Any chance you know a way to make it work with level@8?

@darkpencil1
Copy link
Author

Thanks for the quick response! I've no prior experience with level, so I can't take this up myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants