bug: can't use tinacms in coder #17140
Replies: 9 comments
-
Starting a Coder workspace. You can track the progress here. |
Beta Was this translation helpful? Give feedback.
-
β Workspace has been successfully started! You can access it here. |
Beta Was this translation helpful? Give feedback.
-
Hi @Kevindodiya75, after investigating your issue further, I've found the solution to your problem with TinaCMS in Coder. The issue is that TinaCMS is likely binding only to localhost (127.0.0.1) within your workspace, making it inaccessible from outside the workspace. For web applications in Coder workspaces to be accessible, they need to bind to (all interfaces) instead of just localhost. This is a common issue when running web servers in containerized environments. Looking at TinaCMS, I see it's built with Hugo. You need to update how you're starting the development server with the following changes:
Instead of: Command "dev" not found. Try: Command "dev" not found. Alternatively, you can check if the pnpm script in package.json is using the Hugo server, and if so, modify it to include the flag.
After making this change, the application should be accessible via your Coder workspace URL. Let me know if this resolves your issue! |
Beta Was this translation helpful? Give feedback.
-
yes i try it but still i phase same issue |
Beta Was this translation helpful? Give feedback.
-
Hey @bpmct, I also tried with GitHub Codespaces to simulate a similar environment and faced no issues there either. so can you explain me now where is the problem in there because this not wokring in my coder only |
Beta Was this translation helpful? Give feedback.
-
HI @Kevindodiya75, can you check the developer console to see if there are any errors? |
Beta Was this translation helpful? Give feedback.
-
Hello @matifali, three is no error |
Beta Was this translation helpful? Give feedback.
-
so now what i can do |
Beta Was this translation helpful? Give feedback.
-
Is there an existing issue for this?
Current Behavior
in that we get tinacms hugo starter page as expected but for admin page this stuck in to the loading phase

when we use coder machine in local machine that work perfectly fine
Relevant Log Output
Expected Behavior
in there this the tinacms hugo starter page and this run on


http://<local domain>/
in my local machineand this is the tinacms hugo admin page and this run on
http://<local domain>/admin
in my local machineSteps to Reproduce
1.git clone this file https://github.com/Kevindodiya75/tinacms.git
2. use command pnpm i in this file
3. run project using pnpm run dev
4. http://localhost:1313/admin i can't view the output
Environment
System:
OS: Linux 6.8 Ubuntu 24.04.1 LTS 24.04.1 LTS (Noble Numbat)
CPU: (2) x64 AMD EPYC 7B13
Memory: 12.74 GB / 15.62 GB
Container: Yes
Shell: 5.2.21 - /bin/bash
Binaries:
Node: 23.9.0 - /usr/bin/node
npm: 10.9.2 - /usr/bin/npm
pnpm: 10.6.3 - /usr/bin/pnpm
npmPackages:
@tinacms/auth: ^1.0.11 => 1.0.11
@tinacms/cli: ^1.9.3 => 1.9.3
tinacms: ^2.7.3 => 2.7.3:
Additional Context
The issue occurs consistently
Beta Was this translation helpful? Give feedback.
All reactions