-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Check List
- I have already read Docs page & Troubleshooting page.
- I have already searched existing issues and they are not help to me.
- I examined error or warning messages and it's difficult to solve.
- I am using the latest version of Hexo. (run
hexo versionto check) - My Node.js is matched the required version.
Expected behavior
To generate correctly with a symbolic link directory as an asset in the post asset folder.
Actual behavior
Generated, but after INFO Files loaded in *.**s, there is an error Error: EISDIR: illegal operation on a directory, read. And the symbolic link directory did not appear in /public.
How to reproduce?
- Set
post_asset_foldertotrue. - Create a symbolic link or a junction using Windows cmd, like
mklink /D "path\to\source\_post\my_post\asset_link" "path\to\asset\in\somewhere\else". - Run
hexo clean && hexo g.
Is the problem still there under Safe mode?
Yes
Your Node.js & npm version
node v23.4.0
npm 10.9.2
Your Hexo and Plugin version
[email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
Your package.json
{
"name": "hexo-site",
"version": "0.0.0",
"private": true,
"scripts": {
"build": "hexo generate",
"clean": "hexo clean",
"deploy": "hexo deploy",
"server": "hexo server"
},
"hexo": {
"version": "7.3.0"
},
"dependencies": {
"hexo": "^7.3.0",
"hexo-deployer-git": "^4.0.0",
"hexo-footnotes": "^1.0.2",
"hexo-generator-archive": "^2.0.0",
"hexo-generator-category": "^2.0.0",
"hexo-generator-index": "^4.0.0",
"hexo-generator-tag": "^2.0.0",
"hexo-hide-posts": "^0.4.3",
"hexo-renderer-ejs": "^2.0.0",
"hexo-renderer-markdown-it-plus": "^1.0.6",
"hexo-renderer-stylus": "^3.0.1",
"hexo-server": "^3.0.0",
"hexo-theme-landscape": "^1.0.0",
"hexo-theme-next": "^8.21.1"
}
}Your site's _config.yml (Optional)
permalink: :title/
post_asset_folder: true
theme: nextOthers
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working