Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No url found for submodule path 'themes/next' in .gitmodules #702

Closed
3 tasks done
LangoABYSS opened this issue Sep 30, 2023 · 3 comments
Closed
3 tasks done

No url found for submodule path 'themes/next' in .gitmodules #702

LangoABYSS opened this issue Sep 30, 2023 · 3 comments

Comments

@LangoABYSS
Copy link

Issue Checklist

Expected behavior

Hexo在本地可以正常工作,但是上传GitHub之后Build失败,提示
No url found for submodule path 'themes/next' in .gitmodules
以及
The process '/usr/bin/git' failed with exit code 128

Actual behavior

  • Links to demo site with this issue:
  • Links to repository or source code of the blog:
  • Screenshots:
    image

Steps to reproduce the behavior

已经尝试使用npm i进行安装,并没有取得效果。怀疑是无法访问,但是不知道如何解决。

Node.js and NPM Information

v18.18.0
9.8.1

Package dependencies Information

Hexo Configuration

# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/

# Site
title: Hexo
subtitle: ''
description: ''
keywords:
author: test
language: zh-CN
timezone: ''

# URL
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
url: https://langoabyss.github.io
root: /langoabyss.github.io/
permalink: :year/:month/:day/:title/
permalink_defaults:
pretty_urls:
  trailing_index: true # Set to false to remove trailing 'index.html' from permalinks
  trailing_html: true # Set to false to remove trailing '.html' from permalinks

# Directory
source_dir: source
public_dir: public
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render:

# Writing
new_post_name: :title.md # File name of new posts
default_layout: post
titlecase: false # Transform title into titlecase
external_link:
  enable: true # Open external links in new tab
  field: site # Apply to the whole site
  exclude: ''
filename_case: 0
render_drafts: false
post_asset_folder: true
relative_link: false
future: true
highlight:
  enable: true
  line_number: true
  auto_detect: false
  tab_replace: ''
  wrap: true
  hljs: false
prismjs:
  enable: false
  preprocess: true
  line_number: true
  tab_replace: ''

# Home page setting
# path: Root path for your blogs index page. (default = '')
# per_page: Posts displayed per page. (0 = disable pagination)
# order_by: Posts order. (Order by date descending by default)
index_generator:
  path: ''
  per_page: 10
  order_by: -date

# Category & Tag
default_category: uncategorized
category_map:
tag_map:

# Metadata elements
## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
meta_generator: true

# Date / Time format
## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in
## http://momentjs.com/docs/#/displaying/format/
date_format: YYYY-MM-DD
time_format: HH:mm:ss
## updated_option supports 'mtime', 'date', 'empty'
updated_option: 'mtime'

# Pagination
## Set per_page to 0 to disable pagination
per_page: 10
pagination_dir: page

# Include / Exclude file(s)
## include:/exclude: options only apply to the 'source/' folder
include:
exclude:
ignore:

# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: next

# Deployment
## Docs: https://hexo.io/docs/one-command-deployment
deploy:
  type: git
  repo: https://github.com/LangoABYSS/LangoABYSS.github.io
  branch: master

## Docs: https://github.com/CHENXCHEN/hexo-renderer-markdown-it-plus
markdown_it_plus:
    highlight: true
    html: true
    xhtmlOut: true
    breaks: true
    langPrefix:
    linkify: true
    typographer:
    quotes: “”‘’
    pre_class: highlight

NexT Configuration

math:
  # Default (false) will load mathjax / katex script on demand.
  # That is it only render those page which has `mathjax: true` in front-matter.
  # If you set it to true, it will load mathjax / katex script EVERY PAGE.
  every_page: true

  mathjax:
    enable: true
    # Available values: none | ams | all
    tags: none

Other Information

No response

@LangoABYSS LangoABYSS added the Bug Something isn't working label Sep 30, 2023
@welcome
Copy link

welcome bot commented Sep 30, 2023

Thanks for opening this issue, maintainers will get back to you as soon as possible!

@PeichengLiu
Copy link
Contributor

PeichengLiu commented Oct 2, 2023

首先,这是部署的问题,不属于本主题的问题。

然后,你用的 Action (ghcr.io/actions/jekyll-build-pages) 是用来部署 jekyll 而非 hexo 的。建议你搜索并应用合适的方案,比如,使用 GitHub Actions 构建、部署 Next.js 并将其托管到 GitHub Pages

此外,你可能还需要了解 Git 工具 - 子模块

@stevenjoezhang stevenjoezhang added Question Solved and removed Bug Something isn't working labels Oct 10, 2023
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. It is possible issue was solved or at least outdated. Feel free to open new for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants