Mrminfive / Mrminfive.github.io

blog
2 stars 1 forks source link

关于 | MINFIVE BLOG #16

Open Mrminfive opened 7 years ago

Mrminfive commented 7 years ago

http://blog.minfive.com/about/

日常学习与兴趣交流的个人博客

Mrminfive commented 7 years ago

测试下关于页面评论

Mrminfive commented 7 years ago

第二个测试

BinVul commented 7 years ago

小五狗

aowuR commented 7 years ago

您好,我是个小白,关于您的这款hexo主题我使用的话css样式怎么也出不来,好像是因为您用的是sass格式的?

Mrminfive commented 7 years ago

先确认依赖是否正确安装,然后再清除下hexo的缓存,hexo clean

发自我的 iPhone

在 2017年10月11日,19:33,LDB notifications@github.com<mailto:notifications@github.com> 写道:

您好,我是个小白,关于您的这款hexo主题我使用的话css样式怎么也出不来,好像是因为您用的是sass格式的?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Mrminfive/Mrminfive.github.io/issues/16#issuecomment-335780765, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXE6ZxvKm4IexBJ79wRBDsVsloy7ZzNCks5srKdugaJpZM4PTZ0-.

aowuR commented 7 years ago

谢谢,好像就是没有安装依赖 这个依赖就直接在cmd下面一行命令吗?

Mrminfive commented 7 years ago

发自我的 iPhone

在 2017年10月11日,20:05,LDB notifications@github.com<mailto:notifications@github.com> 写道:

谢谢,好像就是没有安装依赖 这个依赖就直接在cmd下面一行命令吗?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Mrminfive/Mrminfive.github.io/issues/16#issuecomment-335787872, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXE6Z2Zomxc6HfVCgvBqXAq4lrowhx1Sks5srK8SgaJpZM4PTZ0-.

aowuR commented 7 years ago

您好,我的依赖那些都已经安装好了 但是执行完hexo s --debug之后会报错: 13:11:40.029 DEBUG Database saved 13:11:51.633 DEBUG Rendering index: index.html GET / 200 35.566 ms - - GET /scss/base/index.css 404 3.786 ms - 158 GET /scss/views/page/index.css 404 2.806 ms - 164 GET /js/common/utils.js 200 4.287 ms - - GET /js/common/pack.js 200 4.894 ms - - GET /js/common/animation.js 200 4.486 ms - - GET /js/layout/header.js 200 4.686 ms - - GET /js/layout/loading.js 200 5.170 ms - - GET /js/layout/back-top.js 200 2.826 ms - - GET /js/layout/post.js 200 3.026 ms - - GET /undefined 302 0.699 ms - - GET /undefined/ 404 0.641 ms - 149

这个是没找到index.css和js? 该怎么解决呢?

Mrminfive commented 7 years ago

先请一下hexo的缓存,hexo clean

发自我的 iPhone

在 2017年10月12日,21:14,LDB notifications@github.com<mailto:notifications@github.com> 写道:

您好,我的依赖那些都已经安装好了 但是执行完hexo s --debug之后会报错: 13:11:40.029 DEBUG Database saved 13:11:51.633 DEBUG Rendering index: index.html GET / 200 35.566 ms - - GET /scss/base/index.css 404 3.786 ms - 158 GET /scss/views/page/index.css 404 2.806 ms - 164 GET /js/common/utils.js 200 4.287 ms - - GET /js/common/pack.js 200 4.894 ms - - GET /js/common/animation.js 200 4.486 ms - - GET /js/layout/header.js 200 4.686 ms - - GET /js/layout/loading.js 200 5.170 ms - - GET /js/layout/back-top.js 200 2.826 ms - - GET /js/layout/post.js 200 3.026 ms - - GET /undefined 302 0.699 ms - - GET /undefined/ 404 0.641 ms - 149

这个是没找到index.css和js? 该怎么解决呢?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Mrminfive/Mrminfive.github.io/issues/16#issuecomment-336131833, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXE6Z1X7z3CLhGoUwrb11RZDwNWdUrGtks5srhCxgaJpZM4PTZ0-.

aowuR commented 7 years ago

也清除过了......

Mrminfive commented 7 years ago

@aowuR 也清除过了......

能把你根_config.yml的配置给我看下么

aowuR commented 7 years ago
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/

# Site
title: Hexo
subtitle:
description:
author: John Doe
language:
timezone:

# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: http://yoursite.com
root: /
permalink: :year/:month/:day/:title/
permalink_defaults:

# Directory
source_dir: source
public_dir: public
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render:

# Writing
new_post_name: :title.md # File name of new posts
default_layout: post
titlecase: false # Transform title into titlecase
external_link: true # Open external links in new tab
filename_case: 0
render_drafts: false
post_asset_folder: false
relative_link: false
future: true
highlight:
  enable: true
  line_number: true
  auto_detect: false
  tab_replace:

# Home page setting
# path: Root path for your blogs index page. (default = '')
# per_page: Posts displayed per page. (0 = disable pagination)
# order_by: Posts order. (Order by date descending by default)
index_generator:
  path: ''
  per_page: 10
  order_by: -date

# Category & Tag
default_category: uncategorized
category_map:
tag_map:

# Date / Time format
## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in
## http://momentjs.com/docs/#/displaying/format/
date_format: YYYY-MM-DD
time_format: HH:mm:ss

# Pagination
## Set per_page to 0 to disable pagination
per_page: 10
pagination_dir: page

# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: hexo-theme-skapp

# Deployment
## Docs: https://hexo.io/docs/deployment.html
deploy:
  type:

# Sass
node_sass:
  outputStyle: nested
  precision: 5
  sourceComments: false

# Autoprefixer
autoprefixer:
  exclude:
    - '*.min.css'
  browsers:
    - 'last 2 versions'

# Lunr
lunr:
  field: all
  fulltext: false
  path: assets/lunr/

# filter_cleanup
hfc_useref:
  enable: true
  concat: true

hfc_html:
  enable: true
  exclude:

hfc_css:
  enable: true
  exclude: 
    - '*.min.css'

hfc_js:
  enable: true
  mangle: true
  exclude: 
    - '*.min.js'

hfc_img:
  enable: false
  interlaced: false
  multipass: false
  optimizationLevel: 2
  pngquant: false
  progressive: false

hfc_favicons:
  enable: false
  src: img/blog-logo.png
  target: img/
  icons:
    android: true
    appleIcon: true
    appleStartup: false
    coast: false
    favicons: true
    firefox: false
    opengraph: false
    windows: true
    yandex: false
Mrminfive commented 7 years ago

@aowuR

# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/

# Site
title: Hexo
subtitle:
description:
author: John Doe
language:
timezone:

# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: http://yoursite.com
root: /
permalink: :year/:month/:day/:title/
permalink_defaults:

# Directory
source_dir: source
public_dir: public
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render:

# Writing
new_post_name: :title.md # File name of new posts
default_layout: post
titlecase: false # Transform title into titlecase
external_link: true # Open external links in new tab
filename_case: 0
render_drafts: false
post_asset_folder: false
relative_link: false
future: true
highlight:
  enable: true
  line_number: true
  auto_detect: false
  tab_replace:

# Home page setting
# path: Root path for your blogs index page. (default = '')
# per_page: Posts displayed per page. (0 = disable pagination)
# order_by: Posts order. (Order by date descending by default)
index_generator:
  path: ''
  per_page: 10
  order_by: -date

# Category & Tag
default_category: uncategorized
category_map:
tag_map:

# Date / Time format
## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in
## http://momentjs.com/docs/#/displaying/format/
date_format: YYYY-MM-DD
time_format: HH:mm:ss

# Pagination
## Set per_page to 0 to disable pagination
per_page: 10
pagination_dir: page

# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: hexo-theme-skapp

# Deployment
## Docs: https://hexo.io/docs/deployment.html
deploy:
  type:

# Sass
node_sass:
  outputStyle: nested
  precision: 5
  sourceComments: false

# Autoprefixer
autoprefixer:
  exclude:
    - '*.min.css'
  browsers:
    - 'last 2 versions'

# Lunr
lunr:
  field: all
  fulltext: false
  path: assets/lunr/

# filter_cleanup
hfc_useref:
  enable: true
  concat: true

hfc_html:
  enable: true
  exclude:

hfc_css:
  enable: true
  exclude: 
    - '*.min.css'

hfc_js:
  enable: true
  mangle: true
  exclude: 
    - '*.min.js'

hfc_img:
  enable: false
  interlaced: false
  multipass: false
  optimizationLevel: 2
  pngquant: false
  progressive: false

hfc_favicons:
  enable: false
  src: img/blog-logo.png
  target: img/
  icons:
    android: true
    appleIcon: true
    appleStartup: false
    coast: false
    favicons: true
    firefox: false
    opengraph: false
    windows: true
    yandex: false

配置没有问题,你的系统环境是?

aowuR commented 7 years ago

我是win10系统的...系统环境是什么?

Mrminfive commented 7 years ago

@aowuR 我是win10系统的...系统环境是什么?

就是你电脑的系统是什么,win10的话,目前手头没有,我想办法测试下。

aowuR commented 7 years ago

@Mrminfive

@aowuR 我是win10系统的...系统环境是什么?

就是你电脑的系统是什么,win10的话,目前手头没有,我想办法测试下。

ok 谢谢大神啦!!!

YangChail commented 6 years ago

我这边怎么也没法编译mamboer/lunr.js 所以clean也报错,现在还在查原因,大神有碰到吗

Mrminfive commented 6 years ago

windows安装nodejieba需要相应python环境,文档中有教程,仔细看下

发自我的 iPhone

在 2017年11月21日,23:16,杨超 notifications@github.com<mailto:notifications@github.com> 写道:

我这边怎么也没法编译mamboer/lunr.js 所以clean也报错,现在还在查原因,大神有碰到吗

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Mrminfive/Mrminfive.github.io/issues/16#issuecomment-346057864, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXE6Z8VvIXD1awuFF_-Xt3Ic1fTKpRfcks5s4uk-gaJpZM4PTZ0-.

YangChail commented 6 years ago

我的是linux cent os 6.8 对node不是太了解,准备研究一番,有空把错误发给你看,交流交流

发自我的 iPhone

在 2017年11月21日,下午11:50,minfive notifications@github.com 写道:

windows安装nodejieba需要相应python环境,文档中有教程,仔细看下

发自我的 iPhone

在 2017年11月21日,23:16,杨超 notifications@github.com<mailto:notifications@github.com> 写道:

我这边怎么也没法编译mamboer/lunr.js 所以clean也报错,现在还在查原因,大神有碰到吗

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Mrminfive/Mrminfive.github.io/issues/16#issuecomment-346057864, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXE6Z8VvIXD1awuFF_-Xt3Ic1fTKpRfcks5s4uk-gaJpZM4PTZ0-. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

Mrminfive commented 6 years ago

可以

发自我的 iPhone

在 2017年11月21日,23:53,杨超 notifications@github.com<mailto:notifications@github.com> 写道:

我的是linux cent os 6.8 对node不是太了解,准备研究一番,有空把错误发给你看,交流交流

发自我的 iPhone

在 2017年11月21日,下午11:50,minfive notifications@github.com<mailto:notifications@github.com> 写道:

windows安装nodejieba需要相应python环境,文档中有教程,仔细看下

发自我的 iPhone

在 2017年11月21日,23:16,杨超 notifications@github.com<mailto:notifications@github.commailto:notifications@github.com> 写道:

我这边怎么也没法编译mamboer/lunr.js 所以clean也报错,现在还在查原因,大神有碰到吗

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Mrminfive/Mrminfive.github.io/issues/16#issuecomment-346057864, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXE6Z8VvIXD1awuFF_-Xt3Ic1fTKpRfcks5s4uk-gaJpZM4PTZ0-. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Mrminfive/Mrminfive.github.io/issues/16#issuecomment-346070473, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXE6Z1ScZqOWgrcXx9LROD4daZr7RtDwks5s4vISgaJpZM4PTZ0-.

YangChail commented 6 years ago

/root/.node-gyp/9.2.0/include/node/v8.h: At global scope: /root/.node-gyp/9.2.0/include/node/v8.h:334: error: expected unqualified-id before ‘using’ /root/.node-gyp/9.2.0/include/node/v8.h: In constructor ‘v8::MaybeLocal::MaybeLocal()’: /root/.node-gyp/9.2.0/include/node/v8.h:351: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In member function ‘bool v8::MaybeLocal::IsEmpty() const’: /root/.node-gyp/9.2.0/include/node/v8.h:358: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In member function ‘bool v8::MaybeLocal::ToLocal(v8::Local) const’: /root/.node-gyp/9.2.0/include/node/v8.h:366: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In constructor ‘v8::Eternal::Eternal()’: /root/.node-gyp/9.2.0/include/node/v8.h:395: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In constructor ‘v8::Eternal::Eternal(v8::Isolate, v8::Local)’: /root/.node-gyp/9.2.0/include/node/v8.h:397: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In member function ‘bool v8::Eternal::IsEmpty() const’: /root/.node-gyp/9.2.0/include/node/v8.h:402: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In member function ‘bool v8::WeakCallbackInfo::IsFirstPass() const’: /root/.node-gyp/9.2.0/include/node/v8.h:442: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In constructor ‘v8::Global::Global()’: /root/.node-gyp/9.2.0/include/node/v8.h:776: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In constructor ‘v8::Global::Global(v8::Global&&)’: /root/.node-gyp/9.2.0/include/node/v8.h:801: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In member function ‘v8::Global& v8::Global::operator=(v8::Global&&)’: /root/.node-gyp/9.2.0/include/node/v8.h:813: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: At global scope: /root/.node-gyp/9.2.0/include/node/v8.h:839: error: expected unqualified-id before ‘using’ /root/.node-gyp/9.2.0/include/node/v8.h:1188: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h:1194: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In constructor ‘v8::RegisterState::RegisterState()’: /root/.node-gyp/9.2.0/include/node/v8.h:1743: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: At global scope: /root/.node-gyp/9.2.0/include/node/v8.h:2455: error: ISO C++ forbids declaration of ‘constexpr’ with no type /root/.node-gyp/9.2.0/include/node/v8.h:2455: error: expected ‘;’ before ‘int’ /root/.node-gyp/9.2.0/include/node/v8.h:3210: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In member function ‘v8::MaybeLocal v8::Function::NewInstance(v8::Local) const’: /root/.node-gyp/9.2.0/include/node/v8.h:3851: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: At global scope: /root/.node-gyp/9.2.0/include/node/v8.h:4120: error: function definition does not declare parameters /root/.node-gyp/9.2.0/include/node/v8.h:4174: error: expected unqualified-id before ‘&’ token /root/.node-gyp/9.2.0/include/node/v8.h:4174: error: expected ‘)’ before ‘&’ token /root/.node-gyp/9.2.0/include/node/v8.h:4174: error: expected ‘;’ before ‘&’ token In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/ostream_insert.h:36, from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/string:46, from ../../nan/nan.h:61, from ../lib/utils.h:6, from ../lib/nodejieba.h:4, from ../lib/index.cpp:1: /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cxxabi-forced.h:29: error: expected ‘;’ before end of line /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cxxabi-forced.h:29: error: expected ‘}’ before end of line /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cxxabi-forced.h:29: error: expected unqualified-id before end of line /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cxxabi-forced.h:29: error: expected ‘}’ before end of line /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cxxabi-forced.h:29: error: expected declaration before end of line make: *** [Release/obj.target/nodejieba/lib/index.o] Error 1 make: Leaving directory /root/node_modules/nodejieba/build' gyp ERR! build error gyp ERR! stack Error:make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/n/versions/node/9.2.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23) gyp ERR! stack at ChildProcess.emit (events.js:159:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12) gyp ERR! System Linux 2.6.32-696.1.1.el6.x86_64 gyp ERR! command "/usr/local/n/versions/node/9.2.0/bin/node" "/usr/local/n/versions/node/9.2.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /root/node_modules/nodejieba gyp ERR! node -v v9.2.0 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open '/root/package.json' npm WARN root No description npm WARN root No repository field. npm WARN root No README data npm WARN root No license field.

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! nodejieba@2.2.5 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the nodejieba@2.2.5 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Mrminfive commented 6 years ago

无法安装nodejieba node-gyp 编译失败

发自我的 iPhone

在 2017年11月22日,22:32,杨超 notifications@github.com<mailto:notifications@github.com> 写道:

/root/.node-gyp/9.2.0/include/node/v8.h: At global scope: /root/.node-gyp/9.2.0/include/node/v8.h:334: error: expected unqualified-id before ‘using’ /root/.node-gyp/9.2.0/include/node/v8.h: In constructor ‘v8::MaybeLocal::MaybeLocal()’: /root/.node-gyp/9.2.0/include/node/v8.h:351: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In member function ‘bool v8::MaybeLocal::IsEmpty() const’: /root/.node-gyp/9.2.0/include/node/v8.h:358: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In member function ‘bool v8::MaybeLocal::ToLocal(v8::Local) const’: /root/.node-gyp/9.2.0/include/node/v8.h:366: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In constructor ‘v8::Eternal::Eternal()’: /root/.node-gyp/9.2.0/include/node/v8.h:395: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In constructor ‘v8::Eternal::Eternal(v8::Isolate, v8::Local)’: /root/.node-gyp/9.2.0/include/node/v8.h:397: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In member function ‘bool v8::Eternal::IsEmpty() const’: /root/.node-gyp/9.2.0/include/node/v8.h:402: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In member function ‘bool v8::WeakCallbackInfo::IsFirstPass() const’: /root/.node-gyp/9.2.0/include/node/v8.h:442: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In constructor ‘v8::Global::Global()’: /root/.node-gyp/9.2.0/include/node/v8.h:776: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In constructor ‘v8::Global::Global(v8::Global&&)’: /root/.node-gyp/9.2.0/include/node/v8.h:801: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In member function ‘v8::Global& v8::Global::operator=(v8::Global&&)’: /root/.node-gyp/9.2.0/include/node/v8.h:813: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: At global scope: /root/.node-gyp/9.2.0/include/node/v8.h:839: error: expected unqualified-id before ‘using’ /root/.node-gyp/9.2.0/include/node/v8.h:1188: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h:1194: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In constructor ‘v8::RegisterState::RegisterState()’: /root/.node-gyp/9.2.0/include/node/v8.h:1743: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: At global scope: /root/.node-gyp/9.2.0/include/node/v8.h:2455: error: ISO C++ forbids declaration of ‘constexpr’ with no type /root/.node-gyp/9.2.0/include/node/v8.h:2455: error: expected ‘;’ before ‘int’ /root/.node-gyp/9.2.0/include/node/v8.h:3210: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In member function ‘v8::MaybeLocalv8::Object v8::Function::NewInstance(v8::Localv8::Context) const’: /root/.node-gyp/9.2.0/include/node/v8.h:3851: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: At global scope: /root/.node-gyp/9.2.0/include/node/v8.h:4120: error: function definition does not declare parameters /root/.node-gyp/9.2.0/include/node/v8.h:4174: error: expected unqualified-id before ‘&’ token /root/.node-gyp/9.2.0/include/node/v8.h:4174: error: expected ‘)’ before ‘&’ token /root/.node-gyp/9.2.0/include/node/v8.h:4174: error: expected ‘;’ before ‘&’ token In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/ostream_insert.h:36, from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/string:46, from ../../nan/nan.h:61, from ../lib/utils.h:6, from ../lib/nodejieba.h:4, from ../lib/index.cpp:1: /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cxxabi-forced.h:29: error: expected ‘;’ before end of line /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cxxabi-forced.h:29: error: expected ‘}’ before end of line /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cxxabi-forced.h:29: error: expected unqualified-id before end of line /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cxxabi-forced.h:29: error: expected ‘}’ before end of line /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cxxabi-forced.h:29: error: expected declaration before end of line make: *** [Release/obj.target/nodejieba/lib/index.o] Error 1 make: Leaving directory /root/node_modules/nodejieba/build' gyp ERR! build error gyp ERR! stack Error:make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/n/versions/node/9.2.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23) gyp ERR! stack at ChildProcess.emit (events.js:159:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12) gyp ERR! System Linux 2.6.32-696.1.1.el6.x86_64 gyp ERR! command "/usr/local/n/versions/node/9.2.0/bin/node" "/usr/local/n/versions/node/9.2.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /root/node_modules/nodejieba gyp ERR! node -v v9.2.0 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open '/root/package.json' npm WARN root No description npm WARN root No repository field. npm WARN root No README data npm WARN root No license field.

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! nodejieba@2.2.5 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the nodejieba@2.2.5 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Mrminfive/Mrminfive.github.io/issues/16#issuecomment-346366391, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXE6Z-DnNdOgoU1-jfFjTT3NEJNEoV9Fks5s5DA3gaJpZM4PTZ0-.

YangChail commented 6 years ago

你好我已经解决的依赖问题,现在用你的主题之后启动css样式错乱,我已经clean了,还是错乱

发自我的 iPhone

在 2017年11月22日,下午11:00,minfive notifications@github.com 写道:

无法安装nodejieba node-gyp 编译失败

发自我的 iPhone

在 2017年11月22日,22:32,杨超 notifications@github.com<mailto:notifications@github.com> 写道:

/root/.node-gyp/9.2.0/include/node/v8.h: At global scope: /root/.node-gyp/9.2.0/include/node/v8.h:334: error: expected unqualified-id before ‘using’ /root/.node-gyp/9.2.0/include/node/v8.h: In constructor ‘v8::MaybeLocal::MaybeLocal()’: /root/.node-gyp/9.2.0/include/node/v8.h:351: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In member function ‘bool v8::MaybeLocal::IsEmpty() const’: /root/.node-gyp/9.2.0/include/node/v8.h:358: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In member function ‘bool v8::MaybeLocal::ToLocal(v8::Local) const’: /root/.node-gyp/9.2.0/include/node/v8.h:366: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In constructor ‘v8::Eternal::Eternal()’: /root/.node-gyp/9.2.0/include/node/v8.h:395: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In constructor ‘v8::Eternal::Eternal(v8::Isolate, v8::Local)’: /root/.node-gyp/9.2.0/include/node/v8.h:397: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In member function ‘bool v8::Eternal::IsEmpty() const’: /root/.node-gyp/9.2.0/include/node/v8.h:402: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In member function ‘bool v8::WeakCallbackInfo::IsFirstPass() const’: /root/.node-gyp/9.2.0/include/node/v8.h:442: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In constructor ‘v8::Global::Global()’: /root/.node-gyp/9.2.0/include/node/v8.h:776: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In constructor ‘v8::Global::Global(v8::Global&&)’: /root/.node-gyp/9.2.0/include/node/v8.h:801: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In member function ‘v8::Global& v8::Global::operator=(v8::Global&&)’: /root/.node-gyp/9.2.0/include/node/v8.h:813: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: At global scope: /root/.node-gyp/9.2.0/include/node/v8.h:839: error: expected unqualified-id before ‘using’ /root/.node-gyp/9.2.0/include/node/v8.h:1188: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h:1194: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In constructor ‘v8::RegisterState::RegisterState()’: /root/.node-gyp/9.2.0/include/node/v8.h:1743: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: At global scope: /root/.node-gyp/9.2.0/include/node/v8.h:2455: error: ISO C++ forbids declaration of ‘constexpr’ with no type /root/.node-gyp/9.2.0/include/node/v8.h:2455: error: expected ‘;’ before ‘int’ /root/.node-gyp/9.2.0/include/node/v8.h:3210: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: In member function ‘v8::MaybeLocalv8::Object v8::Function::NewInstance(v8::Localv8::Context) const’: /root/.node-gyp/9.2.0/include/node/v8.h:3851: error: ‘nullptr’ was not declared in this scope /root/.node-gyp/9.2.0/include/node/v8.h: At global scope: /root/.node-gyp/9.2.0/include/node/v8.h:4120: error: function definition does not declare parameters /root/.node-gyp/9.2.0/include/node/v8.h:4174: error: expected unqualified-id before ‘&’ token /root/.node-gyp/9.2.0/include/node/v8.h:4174: error: expected ‘)’ before ‘&’ token /root/.node-gyp/9.2.0/include/node/v8.h:4174: error: expected ‘;’ before ‘&’ token In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/ostream_insert.h:36, from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/string:46, from ../../nan/nan.h:61, from ../lib/utils.h:6, from ../lib/nodejieba.h:4, from ../lib/index.cpp:1: /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cxxabi-forced.h:29: error: expected ‘;’ before end of line /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cxxabi-forced.h:29: error: expected ‘}’ before end of line /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cxxabi-forced.h:29: error: expected unqualified-id before end of line /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cxxabi-forced.h:29: error: expected ‘}’ before end of line /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cxxabi-forced.h:29: error: expected declaration before end of line make: *** [Release/obj.target/nodejieba/lib/index.o] Error 1 make: Leaving directory /root/node_modules/nodejieba/build' gyp ERR! build error gyp ERR! stack Error:make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/n/versions/node/9.2.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23) gyp ERR! stack at ChildProcess.emit (events.js:159:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12) gyp ERR! System Linux 2.6.32-696.1.1.el6.x86_64 gyp ERR! command "/usr/local/n/versions/node/9.2.0/bin/node" "/usr/local/n/versions/node/9.2.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /root/node_modules/nodejieba gyp ERR! node -v v9.2.0 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open '/root/package.json' npm WARN root No description npm WARN root No repository field. npm WARN root No README data npm WARN root No license field.

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! nodejieba@2.2.5 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the nodejieba@2.2.5 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Mrminfive/Mrminfive.github.io/issues/16#issuecomment-346366391, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXE6Z-DnNdOgoU1-jfFjTT3NEJNEoV9Fks5s5DA3gaJpZM4PTZ0-. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

YangChail commented 6 years ago

文章的图片怎么增加,用什么标签

Mrminfive commented 6 years ago

title: commit message 规范 及自动化 changelog subtitle: 使用过 git 来做版本控制的同学应该都知道每次提交修改 git commit 时,git 总会强制要求填写提交说明,否则不允许提交。填写的格式不限,内容也不限,当然为了提高项目的可维护性,commit message 做适当的格式要求是必要的,不说 review 起来方便,就冲看起来格式规整这一点,看起来都舒服得多了 date: 2017-09-08, 00:52:53 GMT+0800 cover: http://oo12ugek5.bkt.clouddn.com/blog/images/17-09-07/git.jpg categories: 日常学习 tags:


发件人: 杨超 notifications@github.com 发送时间: 2017年11月27日 15:08 收件人: Mrminfive/Mrminfive.github.io 抄送: minfive; Mention 主题: Re: [Mrminfive/Mrminfive.github.io] 关于 | MINFIVE BLOG (#16)

文章的图片怎么增加,用什么标签

― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Mrminfive/Mrminfive.github.io/issues/16#issuecomment-347210593, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXE6ZwLUnRMhBIDbUNUG6eTd_DCJS1QJks5s6tB8gaJpZM4PTZ0-.

YangChail commented 6 years ago

谢谢!我在看您源码已经了解部分

715886592@qq.com

发件人: minfive 发送时间: 2017-11-28 00:30 收件人: Mrminfive/Mrminfive.github.io 抄送: 杨超; Comment 主题: Re: [Mrminfive/Mrminfive.github.io] 关于 MINFIVE BLOG (#16)

title: commit message 规范 及自动化 changelog subtitle: 使用过 git 来做版本控制的同学应该都知道每次提交修改 git commit 时,git 总会强制要求填写提交说明,否则不允许提交。填写的格式不限,内容也不限,当然为了提高项目的可维护性,commit message 做适当的格式要求是必要的,不说 review 起来方便,就冲看起来格式规整这一点,看起来都舒服得多了 date: 2017-09-08, 00:52:53 GMT+0800 cover: http://oo12ugek5.bkt.clouddn.com/blog/images/17-09-07/git.jpg categories: 日常学习 tags:


发件人: 杨超 notifications@github.com 发送时间: 2017年11月27日 15:08 收件人: Mrminfive/Mrminfive.github.io 抄送: minfive; Mention 主题: Re: [Mrminfive/Mrminfive.github.io] 关于 | MINFIVE BLOG (#16)

文章的图片怎么增加,用什么标签

― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Mrminfive/Mrminfive.github.io/issues/16#issuecomment-347210593, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXE6ZwLUnRMhBIDbUNUG6eTd_DCJS1QJks5s6tB8gaJpZM4PTZ0-. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

Mrminfive commented 6 years ago

没事

发自我的 iPhone

在 2017年11月28日,09:36,杨超 notifications@github.com<mailto:notifications@github.com> 写道:

谢谢!我在看您源码已经了解部分

715886592@qq.commailto:715886592@qq.com

发件人: minfive 发送时间: 2017-11-28 00:30 收件人: Mrminfive/Mrminfive.github.iohttp://Mrminfive.github.io 抄送: 杨超; Comment 主题: Re: [Mrminfive/Mrminfive.github.iohttp://Mrminfive.github.io] 关于 | MINFIVE BLOG (#16)

title: commit message 规范 及自动化 changelog subtitle: 使用过 git 来做版本控制的同学应该都知道每次提交修改 git commit 时,git 总会强制要求填写提交说明,否则不允许提交。填写的格式不限,内容也不限,当然为了提高项目的可维护性,commit message 做适当的格式要求是必要的,不说 review 起来方便,就冲看起来格式规整这一点,看起来都舒服得多了 date: 2017-09-08, 00:52:53 GMT+0800 cover: http://oo12ugek5.bkt.clouddn.com/blog/images/17-09-07/git.jpg categories: 日常学习 tags:


发件人: 杨超 notifications@github.com<mailto:notifications@github.com> 发送时间: 2017年11月27日 15:08 收件人: Mrminfive/Mrminfive.github.iohttp://Mrminfive.github.io 抄送: minfive; Mention 主题: Re: [Mrminfive/Mrminfive.github.iohttp://Mrminfive.github.io] 关于 | MINFIVE BLOG (#16)

文章的图片怎么增加,用什么标签

― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Mrminfive/Mrminfive.github.io/issues/16#issuecomment-347210593, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXE6ZwLUnRMhBIDbUNUG6eTd_DCJS1QJks5s6tB8gaJpZM4PTZ0-. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Mrminfive/Mrminfive.github.io/issues/16#issuecomment-347385254, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXE6Z9D6zO4153somQo-STdrwbdLvoM7ks5s62OYgaJpZM4PTZ0-.

formattedzzz commented 6 years ago

主题很棒,感觉除了material风格主题很少有这么正经、布局和谐的主题了

formattedzzz commented 6 years ago

博主能加个友链吗,已添加贵站友链

url: https://blog.liufulin.online name: formattedzz

Mrminfive commented 6 years ago

@formattedzzz

博主能加个友链吗,已添加贵站友链

url: https://blog.liufulin.online name: formattedzz

可以啊

AbsNote commented 6 years ago

来自2018年的测试

ghost commented 6 years ago

deepin怎么安装依赖npm没啥反应

Mrminfive commented 6 years ago

@2020377497 deepin怎么安装依赖npm没啥反应

能具体说下细节吗?

ghost commented 6 years ago

@Mrminfive

@2020377497 deepin怎么安装依赖npm没啥反应

能具体说下细节吗?

额我用win7安装好了全程用的命令提示符不知道会不会有什么bug

ghost commented 6 years ago

@Mrminfive

@2020377497 deepin怎么安装依赖npm没啥反应

能具体说下细节吗? 部署到github缺少js|本地hexo s也不行|hexo s --debug可以|文章加载不出来

Jonykit commented 6 years ago

@Mrminfive

@aowuR 我是win10系统的...系统环境是什么?

就是你电脑的系统是什么,win10的话,目前手头没有,我想办法测试下。

@Mrminfive 先请一下hexo的缓存,hexo clean

发自我的 iPhone

在 2017年10月12日,21:14,LDB notifications@github.com<mailto:notifications@github.com> 写道:

您好,我的依赖那些都已经安装好了 但是执行完hexo s --debug之后会报错: 13:11:40.029 DEBUG Database saved 13:11:51.633 DEBUG Rendering index: index.html GET / 200 35.566 ms - - GET /scss/base/index.css 404 3.786 ms - 158 GET /scss/views/page/index.css 404 2.806 ms - 164 GET /js/common/utils.js 200 4.287 ms - - GET /js/common/pack.js 200 4.894 ms - - GET /js/common/animation.js 200 4.486 ms - - GET /js/layout/header.js 200 4.686 ms - - GET /js/layout/loading.js 200 5.170 ms - - GET /js/layout/back-top.js 200 2.826 ms - - GET /js/layout/post.js 200 3.026 ms - - GET /undefined 302 0.699 ms - - GET /undefined/ 404 0.641 ms - 149

这个是没找到index.css和js? 该怎么解决呢?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Mrminfive/Mrminfive.github.io/issues/16#issuecomment-336131833, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXE6Z1X7z3CLhGoUwrb11RZDwNWdUrGtks5srhCxgaJpZM4PTZ0-.

你好,我遇到跟他一样的状况,请问怎么解决呢,对话中的方法都是试过检查了,就是样式文件404 GET /scss/base/index.css 404 1.316 ms - 158 GET /scss/views/page/index.css 404 0.832 ms - 164 GET /js/common/utils.js 200 0.612 ms - - GET /js/common/pack.js 200 0.567 ms - - GET /js/common/animation.js 200 0.549 ms - - GET /js/layout/loading.js 200 0.710 ms - - GET /js/layout/header.js 200 0.620 ms - - GET /js/layout/back-top.js 200 6.673 ms - - GET /js/layout/post.js 200 0.457 ms - - GET /undefined 302 0.057 ms - - GET /undefined/ 404 0.357 ms - 149 GET /undefined 302 0.068 ms - - GET /undefined/ 404 0.325 ms - 149

chkkassd commented 6 years ago

hi, 我是mac,执行了你的安装依赖的命令后,clean会报错:FATAL duplicated mapping key at line 186, column -77: author: ^ YAMLException: duplicated mapping key at line 186, column -77: author: ^ at generateError (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/js-yaml/lib/js-yaml/loader.js:165:10) at throwError (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/js-yaml/lib/js-yaml/loader.js:171:9) at storeMappingPair (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/js-yaml/lib/js-yaml/loader.js:308:7) at readBlockMapping (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1071:9) at composeNode (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1332:12) at readDocument (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1492:3) at loadDocuments (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1548:5) at Object.load (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1569:19) at Hexo.yamlHelper (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/hexo/lib/plugins/renderer/yaml.js:7:15) at Hexo.tryCatcher (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/util.js:16:23) at Hexo. (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/method.js:15:34) at Promise.then.text (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/hexo/lib/hexo/render.js:61:21) at tryCatcher (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/promise.js:693:18) at Async._drainQueue (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/async.js:17:14) at runCallback (timers.js:696:18) at tryOnImmediate (timers.js:667:5)

Mrminfive commented 6 years ago

配置文件写错了,检查下

发送自 Windows 10 版邮件https://go.microsoft.com/fwlink/?LinkId=550986应用


发件人: PETER SHI notifications@github.com 发送时间: Friday, June 15, 2018 10:40:53 AM 收件人: Mrminfive/Mrminfive.github.io 抄送: minfive; Mention 主题: Re: [Mrminfive/Mrminfive.github.io] 关于 | MINFIVE BLOG (#16)

hi, 我是mac,执行了你的安装依赖的命令后,clean会报错:FATAL duplicated mapping key at line 186, column -77: author: ^ YAMLException: duplicated mapping key at line 186, column -77: author: ^ at generateError (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/js-yaml/lib/js-yaml/loader.js:165:10) at throwError (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/js-yaml/lib/js-yaml/loader.js:171:9) at storeMappingPair (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/js-yaml/lib/js-yaml/loader.js:308:7) at readBlockMapping (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1071:9) at composeNode (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1332:12) at readDocument (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1492:3) at loadDocuments (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1548:5) at Object.load (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1569:19) at Hexo.yamlHelper (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/hexo/lib/plugins/renderer/yaml.js:7:15) at Hexo.tryCatcher (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/util.js:16:23) at Hexo. (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/method.js:15:34) at Promise.then.text (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/hexo/lib/hexo/render.js:61:21) at tryCatcher (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/promise.js:693:18) at Async._drainQueue (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/async.js:17:14) at runCallback (timers.js:696:18) at tryOnImmediate (timers.js:667:5)

― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Mrminfive/Mrminfive.github.io/issues/16#issuecomment-397496640, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXE6Z5ey2l3Yf3txbSUKcO7Wtt8_EX04ks5t8x61gaJpZM4PTZ0-.

chkkassd commented 6 years ago

我是将你说明上面的配置复制进去的,

Sass

node_sass: outputStyle: nested precision: 5 sourceComments: false

Autoprefixer

autoprefixer: exclude:

  • '*.min.css' browsers:
  • 'last 2 versions'

Lunr

lunr: field: all fulltext: false path: assets/lunr/

filter_cleanup

hfc_useref: enable: true concat: true

hfc_html: enable: true exclude:

hfc_css: enable: true exclude:

  • '*.min.css'

hfc_js: enable: true mangle: true exclude:

  • '*.min.js'

hfc_img: enable: false interlaced: false multipass: false optimizationLevel: 2 pngquant: false progressive: false

hfc_favicons: enable: false src: img/blog-logo.png target: img/ icons: android: true appleIcon: true appleStartup: false coast: false favicons: true firefox: false opengraph: false windows: true yandex: false> @Mrminfive

配置文件写错了,检查下

发送自 Windows 10 版邮件https://go.microsoft.com/fwlink/?LinkId=550986应用


发件人: PETER SHI notifications@github.com 发送时间: Friday, June 15, 2018 10:40:53 AM 收件人: Mrminfive/Mrminfive.github.io 抄送: minfive; Mention 主题: Re: [Mrminfive/Mrminfive.github.io] 关于 | MINFIVE BLOG (#16)

hi, 我是mac,执行了你的安装依赖的命令后,clean会报错:FATAL duplicated mapping key at line 186, column -77: author: ^ YAMLException: duplicated mapping key at line 186, column -77: author: ^ at generateError (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/js-yaml/lib/js-yaml/loader.js:165:10) at throwError (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/js-yaml/lib/js-yaml/loader.js:171:9) at storeMappingPair (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/js-yaml/lib/js-yaml/loader.js:308:7) at readBlockMapping (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1071:9) at composeNode (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1332:12) at readDocument (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1492:3) at loadDocuments (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1548:5) at Object.load (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1569:19) at Hexo.yamlHelper (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/hexo/lib/plugins/renderer/yaml.js:7:15) at Hexo.tryCatcher (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/util.js:16:23) at Hexo. (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/method.js:15:34) at Promise.then.text (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/hexo/lib/hexo/render.js:61:21) at tryCatcher (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/promise.js:693:18) at Async._drainQueue (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (/Users/saifengshi1/Documents/SSFBlog/Hexo/node_modules/bluebird/js/release/async.js:17:14) at runCallback (timers.js:696:18) at tryOnImmediate (timers.js:667:5)

― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Mrminfive/Mrminfive.github.io/issues/16#issuecomment-397496640, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXE6Z5ey2l3Yf3txbSUKcO7Wtt8_EX04ks5t8x61gaJpZM4PTZ0-.

chkkassd commented 6 years ago

大神,我找到问题了,我只要加上站长信息就报错:

站长信息

author: name: Peter link: https://github.com/chkkassd

flc1125 commented 6 years ago

测试测试

<?php

define('LARAVEL_START', microtime(true));

/*
|--------------------------------------------------------------------------
| Register The Composer Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader
| for our application. We just need to utilize it! We'll require it
| into the script here so that we do not have to worry about the
| loading of any our classes "manually". Feels great to relax.
|
*/

require __DIR__.'/../vendor/autoload.php';

/*
|--------------------------------------------------------------------------
| Include The Compiled Class File
|--------------------------------------------------------------------------
|
| To dramatically increase your application's performance, you may use a
| compiled class file which contains all of the classes commonly used
| by a request. The Artisan "optimize" is used to create this file.
|
*/

$compiledPath = __DIR__.'/cache/compiled.php';

if (file_exists($compiledPath)) {
    require $compiledPath;
}
only-free commented 6 years ago

测试一下

import time
print( time.time() ) 
zine-fj commented 5 years ago

请问 mamboer/lunr.js 这个模块的作用主要是什么?

Mrminfive commented 5 years ago

分词,用于站内搜索

zine-fj commented 5 years ago

@Mrminfive 分词,用于站内搜索

我现在node版本8.9.3,window10系统,这个模块一直安装不上去,有什么办法吗?(如果不用这个模块,是不是就是单纯没有搜索功能,其他的不影响?)

Mrminfive commented 5 years ago

参见文档,文档上有说明

Mrminfive commented 5 years ago

[cid:7cc21503-cfb5-4872-b397-939e231aa8f5]这样配置了吗?


发件人: 夏之雪 notifications@github.com 发送时间: 2019年4月17日 8:42 收件人: Mrminfive/Mrminfive.github.io 抄送: minfive; Mention 主题: Re: [Mrminfive/Mrminfive.github.io] 关于 | MINFIVE BLOG (#16)

也生成了404.html文件,直接访问404.html也能进入404界面,就是输错地址不进404界面

― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Mrminfive/Mrminfive.github.io/issues/16#issuecomment-483993921, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXE6Z6cSzjASxvdy3yi00sr3-ATo-h9Pks5vht6RgaJpZM4PTZ0-.

DragonFlykeeperDC commented 5 years ago

你好,这个about页面是怎么做的,我也想做成你这种和首页一样风格的关于页面,可是我新建的页面和普通blog页面一样

zine-fj commented 5 years ago

我这是用的别人的主题,然后就成这个样子了

------------------ 原始邮件 ------------------ 发件人: "DragonFlykeeperDC"notifications@github.com; 发送时间: 2019年9月10日(星期二) 上午10:25 收件人: "Mrminfive/Mrminfive.github.io"Mrminfive.github.io@noreply.github.com; 抄送: "晴末"747810974@qq.com;"Comment"comment@noreply.github.com; 主题: Re: [Mrminfive/Mrminfive.github.io] 关于 | MINFIVE BLOG (#16)

你好,这个about页面是怎么做的,我也想做成你这种和首页一样风格的关于页面,可是我新建的页面和普通blog页面一样

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

DragonFlykeeperDC commented 5 years ago

是这个skapp主题呀,这个不是要自己新建about页面吗,可以加我的qq吗