VuePress アップデート
VuePress アップデート
VuePress
を 1.0.0-alpha.32
から、 1.0.0-alpha.39
にアップデートしました。
前回のアップデート
バージョン確認
npm でインストールしたパッケージのバージョンを確認
$ npm list --depth=0
[email protected] /Users/xxxxx/hene
├── @vuepress/[email protected]
├── @vuepress/[email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
古くなったバッケージのバージョンを確認
VuePress
の新しいバージョンがでているのを確認。
$ npm outdated
Package Current Wanted Latest Location
vuepress 1.0.0-alpha.32 1.0.0-alpha.39 0.14.9 hene
VuePress アップデート
アップデート
$ npm update -D vuepress
npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
> [email protected] install /Users/xxxxx/hene/node_modules/fsevents
> node install
node-pre-gyp WARN Using request for node-pre-gyp https download
[fsevents] Success: "/Users/xxxxx/hene/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node" is installed via remote
npm WARN [email protected] requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/idb-connector):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"aix","arch":"any"} (current: {"os":"darwin","arch":"x64"})
- [email protected]
added 171 packages from 111 contributors, removed 173 packages, updated 102 packages, moved 22 packages and audited 18015 packages in 53.172s
found 0 vulnerabilities
アップデートの確認
$ git diff package.json
diff --git a/package.json b/package.json
index 7c3b63e..2e0f674 100644
--- a/package.json
+++ b/package.json
@@ -17,6 +17,6 @@
"pug": "^2.0.3",
"pug-plain-loader": "^1.0.0",
"sass-loader": "^7.1.0",
- "vuepress": "^1.0.0-alpha.32"
+ "vuepress": "^1.0.0-alpha.39"
}
}
node_modules
node_modules 以下を削除
$ rm -rf node_modules/
node_modules 以下入れ直し
$ npm i
> [email protected] install /Users/xxxxx/hene/node_modules/fsevents
> node install
node-pre-gyp WARN Using request for node-pre-gyp https download
[fsevents] Success: "/Users/xxxxx/hene/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node" is installed via remote
> [email protected] install /Users/xxxxx/hene/node_modules/node-sass
> node scripts/install.js
Cached binary found at /Users/xxxxx/.npm/node-sass/4.11.0/darwin-x64-57_binding.node
> [email protected] postinstall /Users/xxxxx/hene/node_modules/node-sass
> node scripts/build.js
Binary found at /Users/xxxxx/hene/node_modules/node-sass/vendor/darwin-x64-57/binding.node
Testing binary
Binary is fine
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/idb-connector):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"aix","arch":"any"} (current: {"os":"darwin","arch":"x64"})
added 1388 packages from 735 contributors and audited 18015 packages in 31.011s
found 0 vulnerabilities
入れ直すと、下記の WARN
は消えた。
npm WARN [email protected] requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies yourself.
その他
問題なさそうなので、とりあえずそのままにしておいた。
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/idb-connector):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"aix","arch":"any"} (current: {"os":"darwin","arch":"x64"})