hrishioa / lumentis

AI powered one-click comprehensive docs from transcripts and text.
Other
1.47k stars 95 forks source link

Windows: trying to run with bun run run #29

Open lightningRalf opened 2 months ago

lightningRalf commented 2 months ago

When running lumentis via bun run run, and adding a file, I get the following error:

19 |     const searchTimeoutRef = useRef(undefined);
20 |     const bounds = useMemo(() => {
21 |         const first = items.findIndex(isSelectable);
22 |         const last = items.findLastIndex(isSelectable);
23 |         if (first < 0) {
24 |             throw new ValidationError('[select prompt] No selectable choices. All choices are disabled.');
                                     ^
error: [select prompt] No selectable choices. All choices are disabled.
      at new ValidationError (:1:33)
      at C:\Users\mjpa\ProgrammierProjekte\lumentis\node_modules\@inquirer\select\dist\esm\index.mjs:24:19
      at C:\Users\mjpa\ProgrammierProjekte\lumentis\node_modules\@inquirer\select\node_modules\@inquirer\core\dist\esm\lib\use-memo.mjs:8:27
      at withPointer (C:\Users\mjpa\ProgrammierProjekte\lumentis\node_modules\@inquirer\select\node_modules\@inquirer\core\dist\esm\lib\hook-engine.mjs:63:25)
      at C:\Users\mjpa\ProgrammierProjekte\lumentis\node_modules\@inquirer\select\dist\esm\index.mjs:20:20
      at workLoop (C:\Users\mjpa\ProgrammierProjekte\lumentis\node_modules\@inquirer\select\node_modules\@inquirer\core\dist\esm\lib\create-prompt.mjs:66:42)
      at C:\Users\mjpa\ProgrammierProjekte\lumentis\node_modules\@inquirer\select\node_modules\@inquirer\core\dist\esm\lib\create-prompt.mjs:76:17
      at C:\Users\mjpa\ProgrammierProjekte\lumentis\node_modules\@inquirer\select\node_modules\@inquirer\core\dist\esm\lib\hook-engine.mjs:19:9
      at run (node:async_hooks:70:11)
      at C:\Users\mjpa\ProgrammierProjekte\lumentis\node_modules\@inquirer\select\node_modules\@inquirer\core\dist\esm\lib\create-prompt.mjs:23:13
error: script "run" exited with code 1
hrishioa commented 1 month ago

Might be that you don't have a console level editor installed. Can you add more info about your system and stack? Node version, etc.