Установил Hexo, но получил предупреждение notsup Not compatible with your operating system or architecture: fsevents@1.0.12. Какая-то опция не будет работать... Вроде бы, сервер не подхватывает изменения сам. Думаю, что вопрос решаем, потому сосредоточимся на переключении тем.
Итак, здесь первые шаги с блоками и пакетами Hexo. Собственно установка hexo во второй половине поста, а в начале мои блуждания в трех сосна темах landscape - штатной, zurb-foundation- кривой, simplest- той, которая успешно установилась, но удивила пухлой папкой t1/themes/simplest/node_modules
Hexo With the release of Hexo 3, the server has been separated from the main module. To start using the server, you will first have to install hexo-server.
Последствия просмотра видео "Введение в NPM - менеджер пакетов для Node.JS " - Это мой пост
Документация npm-install (in package directory, no arguments): Install the dependencies in the local node_modules folder.
Why NPM install Install all node_modules
package.json AN INTERACTIVE GUIDE
О методе тыка и плохой памяти¶
Ранее, пусть "по диагонали", но я посмотрел видеокурс про Nodejs. Так что общие представления о локальной и глобальной установке пакетов были. Но я не сразу догадался, что после установки темы в стандартную папку themes, надо сразу зайти в папку темы (там есть свой pacage.json) и запустить установку пакетов
#Это стандартная последовательность
npm install hexo-cli -g
hexo init blog
cd blog
npm install
hexo server
Но для чайников (и, особенно, для блоггеров) невдомек, что надо запустить npm install еще и в паке новой темы..., а потом почистить "базу данных" а среди инструкций по установке тем Hexo нашлась только одна, в которой об этом говорилось. Так что, этот движок только для блоггеров, желающих изучить nodejs...
При установке новой темы вот такие действия не описаны в документации:
F:\stradorusite\hexo\t1\>cd themes
F:\stradorusite\hexo\t1\themes>npm install
F:\stradorusite\hexo\t1\themes> cd ..
F:\stradorusite\hexo\t1\>hexo clean # В консоли подробные сообщения
F:\stradorusite\hexo\t1\>hexo server --debug # В консоли должны быть очень подробные сообщения
После того, как я подключил таким образом тему t1/themes/simplest, в ней появилась папка t1/themes/simplest/node_modules, а я полагал, что (согалсно подкасту Ильи Кантора), модули темы должны были записаться в t1/node_modules.
Дабы разобраться в этом противоречии (да еще кривая тема hexo-theme-zurb-foundation перед этим попалась)
Три темы в hexo\t1¶
# Содержимое папки F:\stradorusite\hexo\t1\themes
14.05.2016 12:30 <DIR> .
14.05.2016 12:30 <DIR> ..
14.05.2016 12:30 <DIR> landscape
17.05.2016 13:30 <DIR> hexo-theme-zurb-foundation
17.05.2016 20:34 <DIR> simplest
0 файлов 0 байт
5 папок 2 315 005 952 байт свободно
F:\stradorusite\hexo\t1\themes>dir landscape
Том в устройстве F имеет метку MYLINUXLIVE
Серийный номер тома: CE7F-8134
Содержимое папки F:\stradorusite\hexo\t1\themes\landscape
14.05.2016 12:30 <DIR> .
14.05.2016 12:30 <DIR> ..
14.05.2016 12:31 28 .gitignore
14.05.2016 12:31 1 259 Gruntfile.js
14.05.2016 12:31 1 059 LICENSE
14.05.2016 12:31 2 222 README.md
14.05.2016 12:31 517 _config.yml
14.05.2016 12:31 <DIR> languages
14.05.2016 12:31 <DIR> layout
14.05.2016 12:31 274 package.json
14.05.2016 12:31 <DIR> scripts
14.05.2016 12:31 <DIR> source
6 файлов 5 359 байт
6 папок 2 315 005 952 байт свободно
F:\stradorusite\hexo\t1\themes>
Разбираемся, что в главном t1/package.json (главная папка t1/node_modules есть)
# %load 'F:\\stradorusite\\hexo\\t1\\package.json'
{
"name": "hexo-site",
"version": "0.0.0",
"private": true,
"hexo": {
"version": "3.2.0"
},
"dependencies": {
"hexo": "^3.2.0",
"hexo-generator-archive": "^0.1.4",
"hexo-generator-category": "^0.1.3",
"hexo-generator-index": "^0.2.0",
"hexo-generator-tag": "^0.2.0",
"hexo-renderer-ejs": "^0.2.0",
"hexo-renderer-marked": "^0.2.10",
"hexo-renderer-stylus": "^0.3.1",
"hexo-server": "^0.2.0"
}
}
В теме по умолчанию (landscape) есть package.json, но нет папки node_modules
# %load 'F:\\stradorusite\\hexo\\t1\themes\\landscape\\package.json'
{
"name": "hexo-theme-landscape",
"version": "0.0.1",
"private": true,
"devDependencies": {
"grunt": "~0.4.2",
"load-grunt-tasks": "~0.2.0",
"grunt-git": "~0.2.2",
"grunt-contrib-clean": "~0.5.0",
"grunt-contrib-copy": "~0.4.1"
}
}
# %load 'F:\\stradorusite\\hexo\\t1\themes\\simplest\\package.json'
{
"name": "hexo-theme-simplest",
"version": "1.1.0",
"description": "hexo theme, wrote by swig & scss",
"homepage": "https://github.com/dnxbf321/hexo-theme-simplest",
"repository": {
"type": "git",
"url": "https://github.com/dnxbf321/hexo-theme-simplest.git"
},
"keywords": [
"hexo",
"hexo theme",
"swig",
"scss"
],
"author": {
"name": "dnxbf321",
"email": "dnxbf321@gamil.com",
"url": "https://dnxbf321.github.io"
},
"license": "MIT",
"devDependencies": {
"autoprefixer": "^6.1.2",
"node-sass": "^3.4.2",
"postcss": "^5.0.12",
"postcss-js": "^0.1.0",
"uglify-js": "^2.6.1"
}
}
Конфигурационные файлы hexo¶
Поскольку сервис для блоггеров, то настройки похожи на Jekyll, в частности, _config.yml, ниже основоной, а еще ниже из папки темы
# %load 'F:\\stradorusite\\hexo\\t1\\_config.yml'
# 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:
# 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: landscape
#theme: hexo-theme-zurb-foundation
theme: simplest
# Deployment
## Docs: https://hexo.io/docs/deployment.html
deploy:
type:
Вот эти три строчки - последствия моих экспериментов, начал было ставить zurb-foundation, но в итоге оказалось, что она не рабочая. Зато simplest подключил.
#theme: landscape
#theme: hexo-theme-zurb-foundation
theme: simplest
А это конфигурационный файл hexo в предустановленной теме landscape
# %load 'F:\\stradorusite\\hexo\\t1\themes\\landscape\\_config.yml'
# Header
menu:
Home: /
Archives: /archives
rss: /atom.xml
# Content
excerpt_link: Read More
fancybox: true
# Sidebar
sidebar: right
widgets:
- category
- tag
- tagcloud
- archive
- recent_posts
# display widgets at the bottom of index pages (pagination == 2)
index_widgets:
# - category
# - tagcloud
# - archive
# widget behavior
archive_type: 'monthly'
show_count: false
# Miscellaneous
google_analytics:
favicon: /favicon.png
twitter:
google_plus:
fb_admins:
fb_app_id:
Содержимое папки F:\stradorusite\hexo\t1\themes\simplest
17.05.2016 20:34 <DIR> .
17.05.2016 20:34 <DIR> ..
17.05.2016 20:34 21 .gitignore
17.05.2016 20:34 1 100 LICENSE
17.05.2016 20:34 540 README.md
17.05.2016 20:34 183 _config.yml
17.05.2016 20:34 <DIR> languages
17.05.2016 20:34 <DIR> layout
17.05.2016 20:34 689 package.json
17.05.2016 20:34 <DIR> scripts
17.05.2016 20:34 <DIR> source
17.05.2016 20:36 <DIR> node_modules
5 файлов 2 533 байт
7 папок 2 315 005 952 байт свободно
F:\stradorusite\hexo\t1\themes>
Вот, как это должно работать¶
Ниже процесс установки. И все получилось, и сервер запустился, но не обновляется...
npm install hexo-cli -g
hexo init blog
cd blog
npm install
hexo server
Устанавливаем глобально, но надо было не из этой папки...¶
F:\stradorusite\jekyll\test_github_1\jekyll\site>npm install -g hexo-cli
C:\Users\alter_000\AppData\Roaming\npm\hexo -> C:\Users\alter_000\AppData\Roaming\npm\node_modules\hexo-
cli\bin\hexo
> dtrace-provider@0.6.0 install C:\Users\alter_000\AppData\Roaming\npm\node_modules\hexo-cli\node_module
s\dtrace-provider
> node scripts/install.js
> spawn-sync@1.0.15 postinstall C:\Users\alter_000\AppData\Roaming\npm\node_modules\hexo-cli\node_module
s\spawn-sync
> node postinstall
> hexo-util@0.5.3 postinstall C:\Users\alter_000\AppData\Roaming\npm\node_modules\hexo-cli\node_modules\
hexo-util
> npm run build:highlight
> hexo-util@0.5.3 build:highlight C:\Users\alter_000\AppData\Roaming\npm\node_modules\hexo-cli\node_modu
les\hexo-util
> node scripts/build_highlight_alias.js > highlight_alias.json
C:\Users\alter_000\AppData\Roaming\npm
`-- hexo-cli@1.0.1
+-- abbrev@1.0.7
+-- bluebird@3.3.5
+-- chalk@1.1.3
| +-- ansi-styles@2.2.1
| +-- escape-string-regexp@1.0.5
| +-- has-ansi@2.0.0
| | `-- ansi-regex@2.0.0
| +-- strip-ansi@3.0.1
| `-- supports-color@2.0.0
+-- hexo-fs@0.1.5
| +-- chokidar@1.5.0
| | +-- anymatch@1.3.0
| | | +-- arrify@1.0.1
| | | `-- micromatch@2.3.8
| | | +-- arr-diff@2.0.0
| | | | `-- arr-flatten@1.0.1
| | | +-- array-unique@0.2.1
| | | +-- braces@1.8.4
| | | | +-- expand-range@1.8.2
| | | | | `-- fill-range@2.2.3
| | | | | +-- is-number@2.1.0
| | | | | +-- isobject@2.1.0
| | | | | +-- randomatic@1.1.5
| | | | | `-- repeat-string@1.5.4
| | | | +-- preserve@0.2.0
| | | | `-- repeat-element@1.1.2
| | | +-- expand-brackets@0.1.5
| | | | `-- is-posix-bracket@0.1.1
| | | +-- extglob@0.3.2
| | | +-- filename-regex@2.0.0
| | | +-- kind-of@3.0.3
| | | | `-- is-buffer@1.1.3
| | | +-- normalize-path@2.0.1
| | | +-- object.omit@2.0.0
| | | | +-- for-own@0.1.4
| | | | | `-- for-in@0.1.5
| | | | `-- is-extendable@0.1.1
| | | +-- parse-glob@3.0.4
| | | | +-- glob-base@0.3.0
| | | | `-- is-dotfile@1.0.2
| | | `-- regex-cache@0.4.3
| | | +-- is-equal-shallow@0.1.3
| | | `-- is-primitive@2.0.0
| | +-- async-each@1.0.0
| | +-- glob-parent@2.0.0
| | +-- inherits@2.0.1
| | +-- is-binary-path@1.0.1
| | | `-- binary-extensions@1.4.0
| | +-- is-glob@2.0.1
| | | `-- is-extglob@1.0.0
| | +-- path-is-absolute@1.0.0
| | `-- readdirp@2.0.0
| | +-- minimatch@2.0.10
| | | `-- brace-expansion@1.1.4
| | | +-- balanced-match@0.4.1
| | | `-- concat-map@0.0.1
| | `-- readable-stream@2.1.2
| | +-- core-util-is@1.0.2
| | +-- isarray@1.0.0
| | +-- process-nextick-args@1.0.7
| | +-- string_decoder@0.10.31
| | `-- util-deprecate@1.0.2
| `-- graceful-fs@4.1.4
+-- hexo-log@0.1.2
| `-- bunyan@1.8.1
| +-- dtrace-provider@0.6.0
| | `-- nan@2.3.3
| +-- moment@2.13.0
| +-- mv@2.1.1
| | +-- mkdirp@0.5.1
| | | `-- minimist@0.0.8
| | +-- ncp@2.0.0
| | `-- rimraf@2.4.5
| | `-- glob@6.0.4
| | +-- inflight@1.0.4
| | | `-- wrappy@1.0.1
| | `-- once@1.3.3
| `-- safe-json-stringify@1.0.3
+-- hexo-util@0.5.3
| +-- camel-case@1.2.2
| | +-- sentence-case@1.1.3
| | | `-- lower-case@1.1.3
| | `-- upper-case@1.1.3
| +-- cross-spawn@2.2.3
| | +-- cross-spawn-async@2.2.2
| | | +-- lru-cache@4.0.1
| | | | +-- pseudomap@1.0.2
| | | | `-- yallist@2.0.0
| | | `-- which@1.2.8
| | | +-- is-absolute@0.1.7
| | | | `-- is-relative@0.1.3
| | | `-- isexe@1.1.2
| | `-- spawn-sync@1.0.15
| | +-- concat-stream@1.5.1
| | | +-- readable-stream@2.0.6
| | | `-- typedarray@0.0.6
| | `-- os-shim@0.1.3
| +-- highlight.js@9.3.0
| +-- html-entities@1.2.0
| `-- striptags@2.1.1
+-- minimist@1.2.0
+-- object-assign@4.1.0
`-- tildify@1.2.0
`-- os-homedir@1.0.1
npm WARN optional Skipping failed optional dependency /hexo-cli/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.12
Глобально спрашиваем, что это...¶
F:\stradorusite\jekyll\test_github_1\jekyll\site>hexo -h
Usage: hexo <command>
Commands:
help Get help on a command.
init Create a new Hexo folder.
version Display version information.
Global Options:
--config Specify config file instead of using _config.yml
--cwd Specify the CWD
--debug Display all verbose messages in the terminal
--draft Display draft posts
--safe Disable all plugins and scripts
--silent Hide output on console
For more help, you can use 'hexo help [command]' for the detailed information
or you can check the docs: http://hexo.io/docs/
F:\stradorusite\jekyll\test_github_1\jekyll\site>
Далее пробуем создать первый сайт¶
F:\stradorusite>mkdir hexo
F:\stradorusite>cd hexo
F:\stradorusite\hexo>hexo init t1
INFO Cloning hexo-starter to F:\stradorusite\hexo\t1
Cloning into 'F:\stradorusite\hexo\t1'...
remote: Counting objects: 53, done.
remote: Total 53 (delta 0), reused 0 (delta 0), pack-reused 53
Unpacking objects: 100% (53/53), done.
Checking connectivity... done.
Submodule 'themes/landscape' (https://github.com/hexojs/hexo-theme-landscape.git) registered for path 't
hemes/landscape'
Cloning into 'themes/landscape'...
remote: Counting objects: 730, done.
emote: Total 730 (delta 0), reused 0 (delta 0), pack-reused 730 eceiving objects: 90% (657/730), 2.47 M
iB | 585.00 KiB/s
Receiving objects: 100% (730/730), 2.51 MiB | 585.00 KiB/s, done.
Resolving deltas: 100% (386/386), done.
Checking connectivity... done.
Submodule 'themes/landscape' (https://github.com/hexojs/hexo-theme-landscape.git) registered for path 't
hemes/landscape'
Cloning into 'themes/landscape'...
remote: Counting objects: 730, done.
emote: Total 730 (delta 0), reused 0 (delta 0), pack-reused 730 eceiving objects: 90% (657/730), 2.47 M
iB | 585.00 KiB/s
Receiving objects: 100% (730/730), 2.51 MiB | 585.00 KiB/s, done.
Resolving deltas: 100% (386/386), done.
Checking connectivity... done.
Submodule path 'themes/landscape': checked out 'decdc2d9956776cbe95420ae94bac87e22468d38'
А далее пришлось подождать, пока устанавливались зависимости...
INFO Install dependencies
extract:hoek | |##########################################################---------------|
...
| | | `-- string_decoder@0.10.31
| | `-- jsdom@7.2.2
| | +-- abab@1.0.3
| | +-- acorn@2.7.0
| | +-- acorn-globals@1.0.9
| | +-- cssom@0.3.1
| | +-- cssstyle@0.2.34
| | +-- escodegen@1.8.0
| | | +-- estraverse@1.9.3
| | | +-- esutils@2.0.2
| | | +-- optionator@0.8.1
| | | | +-- deep-is@0.1.3
| | | | +-- fast-levenshtein@1.1.3
| | | | +-- levn@0.3.0
| | | | +-- prelude-ls@1.1.2
| | | | +-- type-check@0.3.2
| | | | `-- wordwrap@1.0.0
| | | `-- source-map@0.2.0
| | +-- nwmatcher@1.3.7
| | +-- parse5@1.5.1
| | +-- request@2.72.0
| | | +-- aws-sign2@0.6.0
| | | +-- aws4@1.4.1
| | | +-- bl@1.1.2
| | | | `-- readable-stream@2.0.6
| | | | `-- isarray@1.0.0
| | | +-- caseless@0.11.0
| | | +-- combined-stream@1.0.5
| | | | `-- delayed-stream@1.0.0
| | | +-- extend@3.0.0
| | | +-- forever-agent@0.6.1
| | | +-- form-data@1.0.0-rc4
| | | | `-- async@1.5.2
| | | +-- har-validator@2.0.6
| | | | +-- commander@2.9.0
| | | | | `-- graceful-readlink@1.0.1
| | | | `-- is-my-json-valid@2.13.1
| | | | +-- generate-function@2.0.0
| | | | +-- generate-object-property@1.2.0
| | | | | `-- is-property@1.0.2
| | | | +-- jsonpointer@2.0.0
| | | | `-- xtend@4.0.1
| | | +-- hawk@3.1.3
| | | | +-- boom@2.10.1
| | | | +-- cryptiles@2.0.5
| | | | +-- hoek@2.16.3
| | | | `-- sntp@1.0.9
| | | +-- http-signature@1.1.1
| | | | +-- assert-plus@0.2.0
| | | | +-- jsprim@1.2.2
| | | | | +-- extsprintf@1.0.2
| | | | | +-- json-schema@0.2.2
| | | | | `-- verror@1.3.6
| | | | `-- sshpk@1.8.3
| | | | +-- asn1@0.2.3
| | | | +-- assert-plus@1.0.0
| | | | +-- dashdash@1.13.1
| | | | | `-- assert-plus@1.0.0
| | | | +-- ecc-jsbn@0.1.1
| | | | +-- getpass@0.1.6
| | | | | `-- assert-plus@1.0.0
| | | | +-- jodid25519@1.0.2
| | | | +-- jsbn@0.1.0
| | | | `-- tweetnacl@0.13.3
| | | +-- is-typedarray@1.0.0
| | | +-- isstream@0.1.2
| | | +-- json-stringify-safe@5.0.1
| | | +-- node-uuid@1.4.7
| | | +-- oauth-sign@0.8.2
| | | +-- qs@6.1.0
| | | +-- stringstream@0.0.5
| | | `-- tunnel-agent@0.4.3
| | +-- sax@1.2.1
| | +-- symbol-tree@3.1.4
| | +-- tough-cookie@2.2.2
| | +-- webidl-conversions@2.0.1
| | +-- whatwg-url-compat@0.6.5
| | | `-- tr46@0.0.3
| | `-- xml-name-validator@2.0.1
| +-- hexo-cli@1.0.1
| | `-- minimist@1.2.0
| +-- hexo-front-matter@0.2.2
| +-- hexo-fs@0.1.5
| | +-- chokidar@1.5.0
| | | +-- anymatch@1.3.0
| | | | +-- arrify@1.0.1
| | | | `-- micromatch@2.3.8
| | | | +-- arr-diff@2.0.0
| | | | | `-- arr-flatten@1.0.1
| | | | +-- array-unique@0.2.1
| | | | +-- braces@1.8.4
| | | | | +-- expand-range@1.8.2
| | | | | | `-- fill-range@2.2.3
| | | | | | +-- is-number@2.1.0
| | | | | | +-- isobject@2.1.0
| | | | | | | `-- isarray@1.0.0
| | | | | | +-- randomatic@1.1.5
| | | | | | `-- repeat-string@1.5.4
| | | | | +-- preserve@0.2.0
| | | | | `-- repeat-element@1.1.2
| | | | +-- expand-brackets@0.1.5
| | | | | `-- is-posix-bracket@0.1.1
| | | | +-- extglob@0.3.2
| | | | +-- filename-regex@2.0.0
| | | | +-- kind-of@3.0.3
| | | | | `-- is-buffer@1.1.3
| | | | +-- normalize-path@2.0.1
| | | | +-- object.omit@2.0.0
| | | | | +-- for-own@0.1.4
| | | | | | `-- for-in@0.1.5
| | | | | `-- is-extendable@0.1.1
| | | | +-- parse-glob@3.0.4
| | | | | +-- glob-base@0.3.0
| | | | | `-- is-dotfile@1.0.2
| | | | `-- regex-cache@0.4.3
| | | | +-- is-equal-shallow@0.1.3
| | | | `-- is-primitive@2.0.0
| | | +-- async-each@1.0.0
| | | +-- glob-parent@2.0.0
| | | +-- inherits@2.0.1
| | | +-- is-binary-path@1.0.1
| | | | `-- binary-extensions@1.4.0
| | | +-- is-glob@2.0.1
| | | | `-- is-extglob@1.0.0
| | | +-- path-is-absolute@1.0.0
| | | `-- readdirp@2.0.0
| | | +-- minimatch@2.0.10
| | | `-- readable-stream@2.1.2
| | | +-- isarray@1.0.0
| | | +-- process-nextick-args@1.0.7
| | | `-- util-deprecate@1.0.2
| | `-- graceful-fs@4.1.4
| +-- hexo-i18n@0.2.1
| | `-- sprintf-js@1.0.3
| +-- hexo-log@0.1.2
| | `-- bunyan@1.8.1
| | +-- dtrace-provider@0.6.0
| | | `-- nan@2.3.3
| | +-- mv@2.1.1
| | | +-- ncp@2.0.0
| | | `-- rimraf@2.4.5
| | | `-- glob@6.0.4
| | | +-- inflight@1.0.4
| | | | `-- wrappy@1.0.1
| | | `-- once@1.3.3
| | `-- safe-json-stringify@1.0.3
| +-- hexo-util@0.5.3
| | +-- camel-case@1.2.2
| | | +-- sentence-case@1.1.3
| | | | `-- lower-case@1.1.3
| | | `-- upper-case@1.1.3
| | +-- cross-spawn@2.2.3
| | | +-- cross-spawn-async@2.2.2
| | | | +-- lru-cache@4.0.1
| | | | | +-- pseudomap@1.0.2
| | | | | `-- yallist@2.0.0
| | | | `-- which@1.2.8
| | | | +-- is-absolute@0.1.7
| | | | | `-- is-relative@0.1.3
| | | | `-- isexe@1.1.2
| | | `-- spawn-sync@1.0.15
| | | +-- concat-stream@1.5.1
| | | | +-- readable-stream@2.0.6
| | | | | `-- isarray@1.0.0
| | | | `-- typedarray@0.0.6
| | | `-- os-shim@0.1.3
| | +-- highlight.js@9.3.0
| | +-- html-entities@1.2.0
| | `-- striptags@2.1.1
| +-- js-yaml@3.6.1
| | +-- argparse@1.0.7
| | `-- esprima@2.7.2
| +-- lodash@4.12.0
| +-- minimatch@3.0.0
| | `-- brace-expansion@1.1.4
| | +-- balanced-match@0.4.1
| | `-- concat-map@0.0.1
| +-- moment@2.11.2
| +-- moment-timezone@0.5.4
| +-- nunjucks@2.4.2
| | +-- asap@2.0.3
| | `-- yargs@3.32.0
| | +-- camelcase@2.1.1
| | +-- cliui@3.2.0
| | | `-- wrap-ansi@2.0.0
| | +-- decamelize@1.2.0
| | +-- os-locale@1.4.0
| | | `-- lcid@1.0.0
| | | `-- invert-kv@1.0.0
| | +-- string-width@1.0.1
| | | +-- code-point-at@1.0.0
| | | | `-- number-is-nan@1.0.0
| | | `-- is-fullwidth-code-point@1.0.0
| | +-- window-size@0.1.4
| | `-- y18n@3.2.1
| +-- pretty-hrtime@1.0.2
| +-- strip-indent@1.0.1
| | `-- get-stdin@4.0.1
| +-- swig@1.4.2
| | +-- optimist@0.6.1
| | | +-- minimist@0.0.10
| | | `-- wordwrap@0.0.3
| | `-- uglify-js@2.4.24
| | +-- async@0.2.10
| | +-- source-map@0.1.34
| | +-- uglify-to-browserify@1.0.2
| | `-- yargs@3.5.4
| | +-- camelcase@1.2.1
| | +-- window-size@0.1.0
| | `-- wordwrap@0.0.2
| +-- swig-extras@0.0.1
| | `-- markdown@0.5.0
| | `-- nopt@2.1.2
| +-- text-table@0.2.0
| +-- tildify@1.2.0
| | `-- os-homedir@1.0.1
| +-- titlecase@1.1.2
| `-- warehouse@2.2.0
| +-- cuid@1.3.8
| | +-- browser-fingerprint@0.0.1
| | +-- core-js@1.2.6
| | `-- node-fingerprint@0.0.2
| +-- is-plain-object@2.0.1
| | `-- isobject@1.0.2
| `-- JSONStream@1.1.1
| +-- jsonparse@1.2.0
| `-- through@2.3.8
+-- hexo-generator-archive@0.1.4
| +-- hexo-pagination@0.0.2
| | `-- utils-merge@1.0.0
| `-- object-assign@2.1.1
+-- hexo-generator-category@0.1.3
| `-- object-assign@2.1.1
+-- hexo-generator-index@0.2.0
| `-- object-assign@4.1.0
+-- hexo-generator-tag@0.2.0
+-- hexo-renderer-ejs@0.2.0
| `-- ejs@1.0.0
+-- hexo-renderer-marked@0.2.10
| `-- marked@0.3.5
+-- hexo-renderer-stylus@0.3.1
| +-- nib@1.1.0
| | `-- stylus@0.49.3
| | +-- glob@3.2.11
| | | `-- minimatch@0.3.0
| | | `-- lru-cache@2.7.3
| | +-- mkdirp@0.3.5
| | +-- sax@0.5.8
| | `-- source-map@0.1.43
| `-- stylus@0.53.0
| +-- css-parse@1.7.0
| +-- debug@2.2.0
| | `-- ms@0.7.1
| +-- glob@3.2.11
| | `-- minimatch@0.3.0
| | +-- lru-cache@2.7.3
| | `-- sigmund@1.0.1
| +-- mkdirp@0.5.1
| | `-- minimist@0.0.8
| +-- sax@0.5.8
| `-- source-map@0.1.43
| `-- amdefine@1.0.0
`-- hexo-server@0.2.0
+-- compression@1.6.2
| +-- accepts@1.3.3
| | +-- mime-types@2.1.11
| | `-- negotiator@0.6.1
| +-- bytes@2.3.0
| +-- compressible@2.0.8
| | `-- mime-db@1.23.0
| +-- on-headers@1.0.1
| `-- vary@1.1.0
+-- connect@3.4.1
| +-- finalhandler@0.4.1
| | `-- unpipe@1.0.0
| `-- parseurl@1.3.1
+-- mime@1.3.4
+-- morgan@1.7.0
| +-- basic-auth@1.0.4
| +-- depd@1.1.0
| `-- on-finished@2.3.0
| `-- ee-first@1.1.1
+-- opn@4.0.1
| `-- pinkie-promise@2.0.1
| `-- pinkie@2.0.4
`-- serve-static@1.10.2
+-- escape-html@1.0.3
`-- send@0.13.1
+-- destroy@1.0.4
+-- etag@1.7.0
+-- fresh@0.3.0
+-- http-errors@1.3.1
+-- range-parser@1.0.3
`-- statuses@1.2.1
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.12
INFO Start blogging with Hexo!
F:\stradorusite\hexo>
####
F:\stradorusite\hexo>cd t1
F:\stradorusite\hexo\t1>npm install
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.12
F:\stradorusite\hexo\t1>
F:\stradorusite\hexo\t1>hexo -v
hexo: 3.2.0
hexo-cli: 1.0.1
os: Windows_NT 10.0.10586 win32 x64
http_parser: 2.6.1
node: 5.6.0
v8: 4.6.85.31
uv: 1.8.0
zlib: 1.2.8
ares: 1.10.1-DEV
icu: 56.1
modules: 47
openssl: 1.0.2f
Говорят, надо сервер запустить¶
F:\stradorusite\hexo\t1>npm install hexo-server --save
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.12
F:\stradorusite\hexo\t1>
Вот оно, оказывается, что несовместимо с "моей" архитектурой... Сервер не обновляется автоматически...
Посты чуть ниже также могут вас заинтересовать
Комментариев нет:
Отправить комментарий