-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Issue with npm install hexo. post.js in generator is not the latest version. #2474
Comments
@tommy351 is the only person who maintain the npm packages. |
I got the same problem, as I am the collaborator of hexo-theme-material. |
I've already updated to hexo 3.3.1, but the problem hasn't solved yet.. |
@neoFelhz I believe this issue is introduced by the #2262, because we have the different perspective of
@Seraphli this is not a bug. The code has existed since Hexo 2.0. |
@NoahDragon There is a bug in previous package. Clearly there is a different between the repository and npm package. Since you have fix it two weeks ago, the npm package match the repo now in [email protected]. |
@Seraphli Thanks for the clarification. I will close this issue for now. Feel free to reopen if the issue still persist. |
Environment Info
Node version(
node -v
)Plugin version(
npm ls --depth 0
)For BUG
In the npm install version:
File: hexo/lib/plugins/generator/post.js
Line 2,
var posts = locals.posts.sort('-date').toArray();
, is wrong, which will generator a reversed list.I try to use
npm update
ornpm update -g
, but the bug didn't disappear.So I think it is the package error. And I check other's website. They are having the same problem
The text was updated successfully, but these errors were encountered: