You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And yes, I already searched for current issues and this is not help to me.
Expected behavior
When migrate NexT blog from window to masOS Mojave(v10.14.2), it should work fine.
Actual behavior
When push the blog source file on windows to repository and then pull into my mac, and after npm install、hexo g、hexo s. Unfortunately, I found the the all FontAwesome icons didn't show any more but every other things are fine. And it's all right on my windows device.
After two days try and test, I finally found that it miss generate some files in hexo/public/lib directory on my mac. When my run hexo g, it's only generate jquery 、velocity directory on my mac. But I can see other directories on my windows device, including algolia-instant-search、canvas-nest、canvas-ribbon、fastclick、font-awesome、needsharebutton、pace、ua-parser-js.
So as you can see, there didn't generate the font-awesome dir in hexo/public/lib, that's the reason I miss all the awesome icons to show out and miss the share button also. But it didn't just miss the font-awesome dir and also miss so many other directories.
After these things below I had try and test at the present, I guess it may be has compatibility problem when migrate NexT v6.1.0 theme's blog from windows to mac. As follows are these what I had try:
I guess it may be the node version problem, on my mac the node version is latest of v11.6.0, it certainly didn't compatible with node v11+, you will found that you can't download the fsevents because the fsevents didn't support the node v11+ yet. fsevents #244
But when I downgrade my node version(v8.10.0) as the windows device, and set the environment the same as the windows device. And then have a try, it's still the some wrong. So I guess it isn't the node's problem.
Maybe the hexo version's problem? So I put the hexo version(v3.8.0) the same as my windows, and try, it still can't work. So it isn't the hexo version's problem.
Maybe the hexo can't compatible with the macOS Mojave(v10.14.2)? So I new a hexo directory and hexo init、hexo g、hexo s, it go well, I can see the icons of the defualt theme of hexo. So it isn't the hexo's compatibility problem.
I use zsh on mac right now. Maybe the zsh problem? So I change the zsh to bash and try, it' s still can't work.
Above of all, I guess it may be the NexT theme have compability problem with macOS Majave(v10.14.2). But I didn't find the solution about this yet.
And search the issues and see that remote js css files disappeared after hexo d or git push#37, finally he say that downgrade the macOS version would solve his this problem. But I think these are two irrelevant problems. Also, for some reasons I can't downgrade my macOS version to test if is the latest masOS version(v10.14.2) cause this problem.
Any other can test it and hava some solution about this? Or some experiences about migrate NexT blog from windows to mac?
When push the blog source file on windows to repository and then pull into my mac
So, you are using git, and that make sense ... all optional external libraries in themes/next/source/lib are ignored by .gitignore, that's why they're missing.
After two days try and test, I finally found that it miss generate some files in hexo/public/lib directory on my mac. When my run hexo g, it's only generate jquery 、velocity directory on my mac. But I can see other directories on my windows device, including algolia-instant-search、canvas-nest、canvas-ribbon、fastclick、font-awesome、needsharebutton、pace、ua-parser-js.
You can try to copy and paste the whole themes/next/source/lib folder manually, and generate the site again.
ivan-nginx
changed the title
May hava compatibility problem when migrate blog from Windows to masOS Mojave
May hava compatibility problem when migrate blog from Windows to masOS Mojave [solved]
Mar 4, 2019
stevenjoezhang
changed the title
May hava compatibility problem when migrate blog from Windows to masOS Mojave [solved]
May hava compatibility problem when migrate blog from Windows to masOS Mojave
Mar 7, 2020
I agree and want to create new issue
Expected behavior
When migrate NexT blog from window to masOS Mojave(v10.14.2), it should work fine.
Actual behavior
When push the blog source file on windows to repository and then pull into my mac, and after
npm install
、hexo g
、hexo s
. Unfortunately, I found the the all FontAwesome icons didn't show any more but every other things are fine. And it's all right on my windows device.After two days try and test, I finally found that it miss generate some files in
hexo/public/lib
directory on my mac. When my runhexo g
, it's only generatejquery
、velocity
directory on my mac. But I can see other directories on my windows device, includingalgolia-instant-search
、canvas-nest
、canvas-ribbon
、fastclick
、font-awesome
、needsharebutton
、pace
、ua-parser-js
.So as you can see, there didn't generate the
font-awesome
dir inhexo/public/lib
, that's the reason I miss all the awesome icons to show out and miss the share button also. But it didn't just miss thefont-awesome
dir and also miss so many other directories.After these things below I had try and test at the present, I guess it may be has compatibility problem when migrate NexT v6.1.0 theme's blog from windows to mac. As follows are these what I had try:
I guess it may be the node version problem, on my mac the node version is latest of v11.6.0, it certainly didn't compatible with node v11+, you will found that you can't download the
fsevents
because thefsevents
didn't support the node v11+ yet. fsevents #244But when I downgrade my node version(v8.10.0) as the windows device, and set the environment the same as the windows device. And then have a try, it's still the some wrong. So I guess it isn't the node's problem.
Maybe the hexo version's problem? So I put the hexo version(v3.8.0) the same as my windows, and try, it still can't work. So it isn't the hexo version's problem.
Maybe the hexo can't compatible with the macOS Mojave(v10.14.2)? So I new a hexo directory and
hexo init
、hexo g
、hexo s
, it go well, I can see the icons of the defualt theme of hexo. So it isn't the hexo's compatibility problem.I use
zsh
on mac right now. Maybe thezsh
problem? So I change thezsh
tobash
and try, it' s still can't work.Above of all, I guess it may be the NexT theme have compability problem with macOS Majave(v10.14.2). But I didn't find the solution about this yet.
And search the issues and see that
remote js css files disappeared after hexo d or git push
#37, finally he say that downgrade the macOS version would solve his this problem. But I think these are two irrelevant problems. Also, for some reasons I can't downgrade my macOS version to test if is the latest masOS version(v10.14.2) cause this problem.Any other can test it and hava some solution about this? Or some experiences about migrate NexT blog from windows to mac?
Node.js and NPM Information
Package dependencies Information
Hexo Information
Hexo version
NexT Information
NexT Version:
NexT Scheme:
Other Information
Window OS: win10
masOS OS: masOS Mojave(v10.14.2)
The text was updated successfully, but these errors were encountered: