Source compilation by gitea, web side CSS style is invalid #5120

Closed
opened 2025-11-02 06:15:01 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @skye95git on GitHub (Mar 26, 2020).

  • Gitea version (or commit ref):
  • Git version:
  • Operating system:
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Windows source compilation gitea, web side CSS style failure, how should I solve?
...

Screenshots

Uploading image.png…

Originally created by @skye95git on GitHub (Mar 26, 2020). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): - Git version: - Operating system: - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [ ] Not relevant - Log gist: ## Description Windows source compilation gitea, web side CSS style failure, how should I solve? ... ## Screenshots ![Uploading image.png…]() <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the issue/needs-feedback label 2025-11-02 06:15:01 -06:00
Author
Owner

@lunny commented on GitHub (Mar 26, 2020):

Please give more details.

@lunny commented on GitHub (Mar 26, 2020): Please give more details.
Author
Owner

@skye95git commented on GitHub (Mar 26, 2020):

Please give more details.

QQ20200326101545
As shown, the page works fine, but there is no style effect

@skye95git commented on GitHub (Mar 26, 2020): > Please give more details. ![QQ20200326101545](https://user-images.githubusercontent.com/41561936/77603354-d5981b80-6f4a-11ea-96d4-167fa9fc2edb.png) As shown, the page works fine, but there is no style effect
Author
Owner

@lunny commented on GitHub (Mar 26, 2020):

How did you compile gitea?

@lunny commented on GitHub (Mar 26, 2020): How did you compile gitea?
Author
Owner

@skye95git commented on GitHub (Mar 26, 2020):

How did you compile gitea?

I downloaded the source code from the master branch and ran "go build" from the console, then ran "./gitea web".

@skye95git commented on GitHub (Mar 26, 2020): > How did you compile gitea? I downloaded the source code from the master branch and ran "go build" from the console, then ran "./gitea web".
Author
Owner

@jolheiser commented on GitHub (Mar 26, 2020):

go build by itself will definitely not be enough. 😅

Please follow the steps in the documentation regarding building from source. 🙂

@jolheiser commented on GitHub (Mar 26, 2020): `go build` by itself will definitely not be enough. :sweat_smile: Please follow the steps in [the documentation](https://docs.gitea.io/en-us/install-from-source/#build) regarding building from source. :slightly_smiling_face:
Author
Owner

@kineck commented on GitHub (Mar 26, 2020):

这是一个编译方法不对的问题,TAGS="bindata" make build,这是正确的方法

@kineck commented on GitHub (Mar 26, 2020): 这是一个编译方法不对的问题,TAGS="bindata" make build,这是正确的方法
Author
Owner

@skye95git commented on GitHub (Mar 26, 2020):

这是一个编译方法不对的问题,TAGS="bindata" make build,这是正确的方法

Thanks,you are right.I follow the steps in the documentation to reconfigure the environment,and run TAGS="bindata sqlite sqlite_unlock_notify" make build,It turns out to be right.

@skye95git commented on GitHub (Mar 26, 2020): > 这是一个编译方法不对的问题,TAGS="bindata" make build,这是正确的方法 Thanks,you are right.I follow the steps in the documentation to reconfigure the environment,and run TAGS="bindata sqlite sqlite_unlock_notify" make build,It turns out to be right.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5120