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

The generate file step semms to be useless #173

Open
1 task done
nova1751 opened this issue Dec 2, 2023 · 1 comment
Open
1 task done

The generate file step semms to be useless #173

nova1751 opened this issue Dec 2, 2023 · 1 comment
Assignees

Comments

@nova1751
Copy link

nova1751 commented Dec 2, 2023

Description

The self call hexo generate seems to be buggy.Running hexo algolia will lead to this bug.

Snipaste_2023-12-02_15-34-53

Bug reason

Running the hexo algolia alone will lead to this bug.This is beacause that hexo.call('generate') won't generate db.json.

Steps to reproduce the bug

Run hexo clean and hexo algolia.

Environment

  • OS (name & version) : Win11
  • Node version: 16.20.2
  • Hexo version: 5.4.2
  • Hexo-cli version: 4.3.1

Plugin configuration

Additional information

  • I can fix this bug
nova1751 added a commit to nova1751/hexo-algoliasearch that referenced this issue Dec 2, 2023
@MskTmi
Copy link

MskTmi commented Nov 21, 2024

I encountered the same issue while trying to use hexo algolia in GitHub Actions. To address it, I attempted to fix the problem:
https://github.com/MskTmi/hexo-algoliasearch

I hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants