[GH-ISSUE #2012] [BUG]: TypeError: Failed to resolve module specifier "@phosphor-icons/react/dist/ssr". #1309

Closed
opened 2026-02-22 18:24:12 -05:00 by yindo · 2 comments
Owner

Originally created by @ccr-fan-3000 on GitHub (Jul 31, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2012

How are you running AnythingLLM?

Docker (remote machine)

What happened?

Hello,

I am running into issues deploying AnythingLLM remotely with Docker. I do have a bit of an unorthodox setup, as my docker file is pulling the image and overwriting a very specific part of it (as I needed to use a PostgreSQL db iunstead of SQLite). Anyways, everything seems to be working until I create and click into a new workspace. Upon clicking on a Workspace, the UI goes blank and throws TypeError: Failed to resolve module specifier "@phosphor-icons/react/dist/ssr". Relative references must start with either "/", "./", or "../".
image

Below is my DockerFile configuration for reference.

FROM mintplexlabs/anythingllm  
  
COPY ./schema.prisma ./server/prisma/  
# Delete existing sqlite migrations  
RUN rm -rf ./server/prisma/migrations/  
# Copy Postgres migrations  
COPY ./migrations/ ./server/prisma/migrations/  

Are there known steps to reproduce?

No response

Originally created by @ccr-fan-3000 on GitHub (Jul 31, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2012 ### How are you running AnythingLLM? Docker (remote machine) ### What happened? Hello, I am running into issues deploying AnythingLLM remotely with Docker. I do have a bit of an unorthodox setup, as my docker file is pulling the image and overwriting a very specific part of it (as I needed to use a PostgreSQL db iunstead of SQLite). Anyways, everything seems to be working until I create and click into a new workspace. Upon clicking on a Workspace, the UI goes blank and throws `TypeError: Failed to resolve module specifier "@phosphor-icons/react/dist/ssr". Relative references must start with either "/", "./", or "../".` ![image](https://github.com/user-attachments/assets/59d5b77f-6777-4857-a13b-fa062131d5d9) Below is my DockerFile configuration for reference. ``` FROM mintplexlabs/anythingllm COPY ./schema.prisma ./server/prisma/ # Delete existing sqlite migrations RUN rm -rf ./server/prisma/migrations/ # Copy Postgres migrations COPY ./migrations/ ./server/prisma/migrations/ ``` ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:24:12 -05:00
yindo closed this issue 2026-02-22 18:24:12 -05:00
Author
Owner

@timothycarambat commented on GitHub (Jul 31, 2024):

This has already been patched + deployed to docker
https://github.com/Mintplex-Labs/anything-llm/commit/2ee5d2095504d96bde7bb028f191e5f3a89007b0

Please repull the newest image - sorry :)

@timothycarambat commented on GitHub (Jul 31, 2024): This has already been patched + deployed to docker https://github.com/Mintplex-Labs/anything-llm/commit/2ee5d2095504d96bde7bb028f191e5f3a89007b0 Please repull the newest image - sorry :)
Author
Owner

@ccr-fan-3000 commented on GitHub (Jul 31, 2024):

Thank u sir 🫡

@ccr-fan-3000 commented on GitHub (Jul 31, 2024): Thank u sir 🫡
yindo changed title from [BUG]: TypeError: Failed to resolve module specifier "@phosphor-icons/react/dist/ssr". to [GH-ISSUE #2012] [BUG]: TypeError: Failed to resolve module specifier "@phosphor-icons/react/dist/ssr". 2026-06-05 14:40:04 -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#1309