Comments (2)
@BrianYi Thanks for suggestion. As I corrected collector.js, please update npm version.
from hexo-related-popular-posts.
gaData[i]
seems to beundefined
in the following line of code:hexo-related-popular-posts/lib/collector.js
Line 205 in d9e7687
I'm using Hexo 3.8.0, NexT 6.7.0, but this bug has been around for a quite a lot of other versions. As it doesn't impact the actual deployment, take your time to investigate, and happy new year.
Full error message
Should you need any other information to help you debug this problem, please let me know.
when I push the button ctrl+s
(save file) one more times, my server would print such messages as @ApolloZhu said, I just change several places and it works(I dont know js, but I find some useful tips), the changes as below(I'm not sure whether it will cause some underlying problems, it just worked for me)
collector.js
add 5 lines code
cache.js
add 1 line code
from hexo-related-popular-posts.
Related Issues (20)
- How to modify the font? HOT 2
- 『Site』view count HOT 1
- tag_map support HOT 2
- isImageとisExcerptはfrontmatterで設定してもjsonでは取得できない HOT 1
- Can't generate url correctly when site is in a subdirectory HOT 3
- one problem with Next theme
- Google analytics configuration not clear or out-of-date HOT 3
- list-json.js)The theme you are using doesn't support "post" data. P lease set the data manually HOT 3
- hexo-fs out of date cause fail to install on node v13 HOT 3
- TypeError: Cannot read property 'length' of undefined
- Unhandled rejection TypeError [ERR_INVALID_ARG_TYPE] HOT 3
- list-json.js use moment format error
- If you use hexo5.0 and use the related Popular Posts plug-in, you may cause errors. HOT 1
- Security problem HOT 2
- Feature-Request about list.img HOT 8
- Multiple posts could not contain a same tag (TypeError: this.localeData(...).postformat is not a function) HOT 1
- Does anyone else update this package? HOT 1
- When article was modified, the page could't render again HOT 2
- If there is no posts, the function should return empty HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexo-related-popular-posts.