[GH-ISSUE #1768] 🐛 [Bug] cypht/cypht:v2.5.0 contains script syntax error #705

Closed
opened 2026-02-25 21:35:43 +03:00 by kerem · 7 comments
Owner

Originally created by @kevinend51 on GitHub (Oct 30, 2025).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/1768

🐛 Bug

Image

It's shows up Uncaught SyntaxError: Unexpected token '*' for site.js

Version & Environment

Rev: cypht/cypht:v2.5.0

Originally created by @kevinend51 on GitHub (Oct 30, 2025). Original GitHub issue: https://github.com/cypht-org/cypht/issues/1768 ## 🐛 Bug <img width="817" height="435" alt="Image" src="https://github.com/user-attachments/assets/6931ba99-84c6-4757-b6ac-5241058304f0" /> It's shows up `Uncaught SyntaxError: Unexpected token '*'` for site.js ### Version & Environment Rev: cypht/cypht:v2.5.0
kerem 2026-02-25 21:35:43 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@IrAlfred commented on GitHub (Oct 30, 2025):

Thank you @kevinend51 for pointing this out, we will look into it.

<!-- gh-comment-id:3469781702 --> @IrAlfred commented on GitHub (Oct 30, 2025): Thank you @kevinend51 for pointing this out, we will look into it.
Author
Owner

@indridieinarsson commented on GitHub (Oct 30, 2025):

I also ran into this. Am running cypht from master (2.5.0 !!! :) ) standalone, through a docker image. Gui is showing up missing most of the components, e.g. the entire toolbar on the left, and the same error message as @kevinend51 reported.

I think this may be caused by the concatenation of 3rd party js components being faulty, probably that code should be adding a newline after adding bootstrap to site.js, and before adding cash to it.

I was able to fix this by adding a newline (an empty line simply) at the beginning of third_party/cash.min.js. This way, the comment at the beginning of cash.min.js starts at a newline in site.js, and the comment becomes valid again.

<!-- gh-comment-id:3470632858 --> @indridieinarsson commented on GitHub (Oct 30, 2025): I also ran into this. Am running cypht from master (2.5.0 !!! :) ) standalone, through a docker image. Gui is showing up missing most of the components, e.g. the entire toolbar on the left, and the same error message as @kevinend51 reported. I think this may be caused by the concatenation of 3rd party js components being faulty, probably that code should be adding a newline after adding bootstrap to site.js, and before adding cash to it. I was able to fix this by adding a newline (an empty line simply) at the beginning of third_party/cash.min.js. This way, the comment at the beginning of cash.min.js starts at a newline in site.js, and the comment becomes valid again.
Author
Owner

@kroky commented on GitHub (Oct 31, 2025):

@Shadow243 this one should fix it but is still in the selenium tests branch: https://github.com/cypht-org/cypht/pull/1760/commits/5becd6a868b9c52a689920ad21fe204c98620b11

<!-- gh-comment-id:3471418200 --> @kroky commented on GitHub (Oct 31, 2025): @Shadow243 this one should fix it but is still in the selenium tests branch: https://github.com/cypht-org/cypht/pull/1760/commits/5becd6a868b9c52a689920ad21fe204c98620b11
Author
Owner

@Shadow243 commented on GitHub (Oct 31, 2025):

@Shadow243 this one should fix it but is still in the selenium tests branch: 5becd6a

Understood. I will create a PR specifically for that fix.

<!-- gh-comment-id:3473062594 --> @Shadow243 commented on GitHub (Oct 31, 2025): > [@Shadow243](https://github.com/Shadow243) this one should fix it but is still in the selenium tests branch: [5becd6a](https://github.com/cypht-org/cypht/commit/5becd6a868b9c52a689920ad21fe204c98620b11) Understood. I will create a PR specifically for that fix.
Author
Owner

@IrAlfred commented on GitHub (Nov 10, 2025):

@marclaporte @kroky @Shadow243

When using Docker, this is a critical issue that needs to be fixed quickly.

Gui is showing up missing most of the components, e.g. the entire toolbar on the left

I suggests to release version 2.5.1 immediately. What's your thoughts ?

<!-- gh-comment-id:3510805642 --> @IrAlfred commented on GitHub (Nov 10, 2025): @marclaporte @kroky @Shadow243 When using Docker, this is a critical issue that needs to be fixed quickly. > Gui is showing up missing most of the components, e.g. the entire toolbar on the left I suggests to release version 2.5.1 immediately. What's your thoughts ?
Author
Owner

@marclaporte commented on GitHub (Nov 10, 2025):

I agree

<!-- gh-comment-id:3510867611 --> @marclaporte commented on GitHub (Nov 10, 2025): I agree
Author
Owner

@IrAlfred commented on GitHub (Nov 10, 2025):

Cypht 2.5.1 has been released https://github.com/cypht-org/cypht/releases/tag/v2.5.1 and the docker image is now available here https://hub.docker.com/r/cypht/cypht/tags

<!-- gh-comment-id:3514036168 --> @IrAlfred commented on GitHub (Nov 10, 2025): Cypht 2.5.1 has been released https://github.com/cypht-org/cypht/releases/tag/v2.5.1 and the docker image is now available here https://hub.docker.com/r/cypht/cypht/tags
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#705
No description provided.