-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
wordcount / needsharebutton /reading_progress in lib is unreachable [solved] #21
Comments
i found the relative issue in #2066... Need to install the Dependencies manually. |
need add configurations in site's you can close the issue. |
If u have any reproduce steps, i can try to catch any bugs. |
yes, i know |
|
i use gitlab ci to deploy hexo. i have deleted/commented the |
I understand what's going on with CI, but if u want to resolve this problem, i must to give reproduce of your steps 1 by 1. And i repeat: we can't delete
We can try to around it, so, need to try different deployments and start with your, GitLab CI. |
the repo is https://gitlab.com/sli1989/sli1989.gitlab.io. |
@sli1989 this is your script, right? Script will install all dependencies with But why u not add there |
i use the reading progress and needsharebutton..there are used in lib form. |
So? What's the problem? U install this 3rd-party libs just like other dependencies and do generate with script. |
i get u... |
This is not another way, this is right way in this situation. Because u have automatic generation & deployment script. And u also must add all possible dependencies there, and |
if i install the libs locally, i must upload them to repo, in this way, i need to modify the ignore file. |
ok, ok, i understand.. |
U don't must upload them into repo. U must upload only basic NexT files. All of 3rd-party must be installed from script (and if there will updates in this 3rd-party libs, they will installed already updated).
That's all! This provide easy update NexT theme to latest version and also will download latest 3rd-party libs to generate with NexT. Try it. This must work. If all worked and solved, close it please. |
yeah, i got it. |
the method above has proved to be successful. |
See? I told u, no need to create a wheel. All possible solutions can be made by scripts. P.S. In next time, please, close issues if it was solved. I anyway will recieve notice on my e-mail and add needed badges, edit titles, etc. |
And, yes, what about |
i just remark for others..i did not use |
sorry for my IQ...😅 |
Ahah, no problem, dude. Paradox: u know how to edit code, but don't know how to close issue. It's so often for me too. 😃 |
@ivan-nginx this resolver is not work for my situation. @sli1989 problem is import third party lib to use, but mine is the origin "lib/" folder content was dropped when i push the generated file to the github. i have tried to push manually, upgrade situation
config
|
Thank you very much for fixing the issue! I was confused by this problem for few days . And few guys got the same problem too. |
@MARGI3 step by step please what u are doing and how? All parts of scripts, all steps from begining install Hexo to 3rd-party node modules (but not need include NexT config anymore). Need to see and try to reproduce this steps if u want to resolve your problem. And questions:
|
@MARGI3 did you install the 3rd-party libs manually in your local files. |
steps
//v5.0.0
//commit id 4f75fe5 then back to open root config theme and deploy
//+ hexo-deployer-git@0.3.1
these all my steps result
reason
summaryi know the causes which lead to the page render error (files not exist), but i was really confused that why these files can not push to the remote. |
@sli1989 those are my steps |
@MARGI3 cool, but: It's repo is not supported 5.1.x theme. NexT 5 not supported by me anymore, u know it. So, if u have reproduce steps on this 6.x version, u can create new issue and just like that explain your situation. No need to comment different solved issue. Thank's. |
I agree and want to create new issue
Expected behavior
Actual behavior
in NexT.Muse v6.0.0
GET http://saili.science/lib/needsharebutton/needsharebutton.css net::ERR_ABORTED
(index):21 GET http://saili.science/lib/pace/pace.min.js?v=1.0.2 net::ERR_ABORTED
(index):22 GET http://saili.science/lib/pace/pace-theme-minimal.min.css?v=1.0.2 net::ERR_ABORTED
(index):1047 GET http://saili.science/lib/reading_progress/reading_progress.js net::ERR_ABORTED
(index):1604 GET http://saili.science/lib/needsharebutton/needsharebutton.js net::ERR_ABORTED
(index):1047 GET http://saili.science/lib/reading_progress/reading_progress.js 404 (Not Found)
(index):1604 GET http://saili.science/lib/needsharebutton/needsharebutton.js net::ERR_ABORTED
(index):1600 GET http://saili.science/lib/needsharebutton/needsharebutton.css net::ERR_ABORTED
Post wordcount is also not right.
the lib files are missing in the site? need to set Script Vendors?
http://saili.science/2018/01/05/regularization/
NexT Information
NexT Version:
NexT Scheme:
The text was updated successfully, but these errors were encountered: