Skip to content
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

Page blank: Uncaught ReferenceError: jQuery is not defined&$ is not defined #2060

Closed
3 tasks done
Pkuflint opened this issue Dec 29, 2017 · 7 comments
Closed
3 tasks done
Labels

Comments

@Pkuflint
Copy link

Pkuflint commented Dec 29, 2017

I agree and want to create new issue


Expected behavior

I visited my blog using Chrome 62.0.3202.94. The blog page should load normally.

Actual behavior

The blog page does not load. Only some background is displayed.

And i got the error in developer panel saying:

Steps to reproduce the behavior

  1. Just type in pkuflnt.me, the blog name and visit it.
  2. This happens often, but does not 100% reoccur. If you refresh the page like 2-3 times, the error will go away and the page will load.
  • Link to demo site with this issue: N/A
  • Link(s) to source code or any usefull link(s): N/A

Hexo Information

hexo: 3.2.2
hexo-cli: 1.0.2
os: Darwin 17.3.0 darwin x64
http_parser: 2.7.0
node: 6.9.1
v8: 5.1.281.84
uv: 1.9.1
zlib: 1.2.8
ares: 1.10.1-DEV
icu: 57.1
modules: 48
openssl: 1.0.2j

NexT Information

NexT Version:

[] Latest Master branch.
[] Latest Release version.
[x] Old version - 5.1.0

NexT Scheme:

[] All schemes
[] Muse
[] Mist
[x] Pisces
[] Gemini

Other Information

Screenshots are above. This happens both in mac and windows.

@ivan-nginx
Copy link
Collaborator

Just type in pkuflnt.me

ERR_NAME_NOT_RESOLVED


Could you please provide the following information?

  • Node.js and NPM version ($node -v && npm -v)?
  • Hexo version ($hexo -v)?
  • Your site package dependencies ($cat package.json)?

Please, try to follow next steps:

  1. Backup your source of themes/next directory.
  2. Switch to latest release version (see Download latest master branch. section in main readme).
  3. Try to catch same error by refreshing browser with CTRL + SHIFT + R.

OR

Try to check latest master branch. Issue still exists?

@jcf94
Copy link

jcf94 commented Jan 3, 2018

Try to add:

lazyload: true

in _config.yml or your next.yml, see if it's fixed.

I got same error when updating my old version to the 6.0 version.

@ivan-nginx
Copy link
Collaborator

@jcf94 but lazyload in 6.0 moved to external lib, right?

@Pkuflint
Copy link
Author

Pkuflint commented Jan 5, 2018

I used another directory to upgrade to v6.0 and the errors are gone now.

@ivan-nginx
Copy link
Collaborator

For anyone, who want to upgrade from 5.x to 6.x, — #2067.

@ivan-nginx
Copy link
Collaborator

@Pkuflint so, issue is solved? Close it if solved.

@onxs
Copy link

onxs commented Jan 11, 2018

我的也是页面一片空白

Repository owner locked as off-topic and limited conversation to collaborators Jan 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants