[GH-ISSUE #3038] [BUG]: path undefined #1945

Closed
opened 2026-02-22 18:27:22 -05:00 by yindo · 1 comment
Owner

Originally created by @day9011 on GitHub (Jan 27, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3038

How are you running AnythingLLM?

Local development

What happened?

root@62a74772273d:~/anything-llm/server# node:internal/errors:540
throw error;
^

TypeError [ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received undefined
at Object.resolve (node:path:1186:7)
at Object. (/root/anything-llm/server/utils/files/index.js:9:12)
at Module._compile (node:internal/modules/cjs/loader:1562:14)
at Object..js (node:internal/modules/cjs/loader:1699:10)
at Module.load (node:internal/modules/cjs/loader:1313:32)
at Function._load (node:internal/modules/cjs/loader:1123:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
at Module.require (node:internal/modules/cjs/loader:1335:12)
at require (node:internal/modules/helpers:136:16) {
code: 'ERR_INVALID_ARG_TYPE'
}

Are there known steps to reproduce?

No response

Originally created by @day9011 on GitHub (Jan 27, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3038 ### How are you running AnythingLLM? Local development ### What happened? root@62a74772273d:~/anything-llm/server# node:internal/errors:540 throw error; ^ TypeError [ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received undefined at Object.resolve (node:path:1186:7) at Object.<anonymous> (/root/anything-llm/server/utils/files/index.js:9:12) at Module._compile (node:internal/modules/cjs/loader:1562:14) at Object..js (node:internal/modules/cjs/loader:1699:10) at Module.load (node:internal/modules/cjs/loader:1313:32) at Function._load (node:internal/modules/cjs/loader:1123:12) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:217:24) at Module.require (node:internal/modules/cjs/loader:1335:12) at require (node:internal/modules/helpers:136:16) { code: 'ERR_INVALID_ARG_TYPE' } ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:27:22 -05:00
yindo closed this issue 2026-02-22 18:27:22 -05:00
Author
Owner

@timothycarambat commented on GitHub (Jan 27, 2025):

Use the correct docker command to launch
https://docs.anythingllm.com/installation-docker/local-docker

I see you marked this as Local and if so, then make sure you have an .env.development file in server. This should already have been solved if you run yarn setup

@timothycarambat commented on GitHub (Jan 27, 2025): Use the correct docker command to launch https://docs.anythingllm.com/installation-docker/local-docker I see you marked this as `Local` and if so, then make sure you have an `.env.development` file in `server`. This should already have been solved if you run `yarn setup`
yindo changed title from [BUG]: path undefined to [GH-ISSUE #3038] [BUG]: path undefined 2026-06-05 14:43:36 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#1945