-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
bug:coreIssues about layout, styles, scripts, etc.Issues about layout, styles, scripts, etc.
Description
Describe the bug
I followed the installation steps in "Getting Started with Icarus," but encountered an error when running hexo server. The server fails to start due to missing modules.
System and Environment
- Hexo Version: 7.3.0
- Operating System: macOS 13.5
- Node.js Version: v20.11.1
To Reproduce
- Install Hexo CLI globally.
- Initialize a new Hexo project:
hexo init hexo-0208-3
cd hexo-0208-3
npm install
- Initialize a Git repository:
git init
- Clone Icarus theme from source:
git clone https://github.com/ppoffice/hexo-theme-icarus.git themes/icarus --depth 1
- Set Hexo theme to Icarus:
hexo config theme icarus
- Start the Hexo server:
hexo server
Observed Behavior
The following error appears in the console:
ERROR Script load failed: themes/icarus/scripts/index.js
Error: Cannot find module 'semver'
(Screenshot attached below)
Expected behavior
The Hexo server should start successfully and serve the default Icarus theme home page.
Screenshots
- Console Error Message
- http://localhost:4000 Output
Any help on fixing this issue would be greatly appreciated. Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bug:coreIssues about layout, styles, scripts, etc.Issues about layout, styles, scripts, etc.