Giter VIP home page Giter VIP logo

Comments (7)

PangBaiWork avatar PangBaiWork commented on August 26, 2024

安卓sdcard目录无法生成构建锁
在出现类似错误时,请在命令行添加flag: --noBuildLock
示例: hugo server --noBuildLock

from weblog.

KateL2002 avatar KateL2002 commented on August 26, 2024

安卓sdcard目录无法生成构建锁
在出现类似错误时,请在命令行添加flag: --noBuildLock
示例: hugo server --noBuildLock

根据这个做法,hugo 可以正常运行,
大概输出内容如下:

)➜ QuickStart hugo server --noBuildLock
Watching for changes in /storage/emulated/0/Download/QuickStart/{archetypes,assets,content,data,i18n,layouts,static,themes}
Watching for config changes in /storage/emulated/0/Download/QuickStart/hugo.toml, /storage/emulated/0/Download/QuickStart/themes/ananke/config.yaml
Start building sites …
hugo v0.123.3+extended android/arm64 BuildDate=unknown


                   | EN
-------------------+-----
  Pages            | 10
  Paginator pages  |  0
  Non-page files   |  0
  Static files     |  1
  Processed images |  0
  Aliases          |  1
  Cleaned          |  0

Built in 175 ms
Environment: "development"
Serving pages from disk
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop

然后,通过浏览器访问 http://localhost:1313/ 时不能正常显示

Screenshot_20240312_123953.jpg

from weblog.

PangBaiWork avatar PangBaiWork commented on August 26, 2024

Hugo与hexo不同,没有预设的主题,没有默认的HelloWorld文章,你想要预览网站必须把一切都配置好才行

from weblog.

KateL2002 avatar KateL2002 commented on August 26, 2024

我在另外一个终端中执行 curl http://localhost:1313/ 也出现了这样的问题

curl: (28) Failed to connect to localhost port 1313 after 31495 ms: Couldn't connect to server

from weblog.

KateL2002 avatar KateL2002 commented on August 26, 2024

Hugo与hexo不同,没有预设的主题,没有默认的HelloWorld文章,你想要预览网站必须把一切都配置好才行

我已经跟着 https://gohugo.io/getting-started/quick-start/ 中的 Get Started 的步骤走了,但不至于没有任何主题和配置吧😓

from weblog.

PangBaiWork avatar PangBaiWork commented on August 26, 2024

你可以试试通过局域网ip访问,我的设备上没有这样的问题,没有错误日志的情况下什么也做不了。

from weblog.

PangBaiWork avatar PangBaiWork commented on August 26, 2024

问题由安卓电源优化导致,已在最新提交修复

from weblog.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.