Open
Description
Description
Im getting the following error when trying to use the library on NextJS v14 with turbo mode enabled:
https://nextjs.org/docs/messages/module-not-found
✓ Compiled / in 4.2s
⨯ ModuleBuildError: ./node_modules/keyv/src/index.js:22:15
Module not found
20 | if (options.adapter || options.uri) {
21 | const adapter = options.adapter || /^[^:+]*/.exec(options.uri)[0];
> 22 | return new (require(adapters[adapter]))(options);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
23 | }
24 |
25 | return new Map();
Repo to reproduce:
https://github.com/hosnipogi/office-text-extractor-issue
Library version
3.0.3
Node version
v20.17.0
Typescript version (if you are using it)
5.7.2