-
**大陆网络安装失败,安装需要翻墙
-
npm install --production时的WARN:
npm WARN deprecated [email protected]: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
npm WARN deprecated [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated [email protected]: As of version 10, the name has been changed to primer. Install with 'npm install primer'
npm WARN deprecated [email protected]: no longer maintained
npm WARN deprecated [email protected]: Please update to at least constantinople 3.1.1
npm WARN deprecated [email protected]: Deprecated, use jstransformer
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated [email protected]: postinstall-build's behavior is now built into npm! You should migrate off of postinstall-build and use the new prepare
lifecycle script with npm 5.0.0 or greater.
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: The primer-cards module has been deprecated. We recommend using primer-box instead.
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
found 22 vulnerabilities (15 low, 6 high, 1 critical)
run npm audit fix
to fix them, or npm audit
for details
- npm audit fix --force后的结果:
- [email protected]
- [email protected]
- [email protected]
added 219 packages from 131 contributors, removed 89 packages, updated 56 packages and moved 3 packages in 31.243s
fixed 16 of 23 vulnerabilities in 13160 scanned packages
7 vulnerabilities required manual review and could not be updated
3 package updates for 16 vulns involved breaking changes
(installed due to --force
option)
之后再使用npm audit:
=== npm audit security report ===
Manual Review
Some vulnerabilities require your attention to resolve
Visit https://go.npm.me/audit-guide for additional guidance
Critical Potential Command Injection
Package shell-quote
Patched in >=1.6.1
Dependency of gulp-browserify [dev]
Path gulp-browserify > browserify > shell-quote
More info https://nodesecurity.io/advisories/117
High Regular Expression Denial of Service
Package minimatch
Patched in >=3.0.2
Dependency of gulp-browserify [dev]
Path gulp-browserify > browserify > glob > minimatch
More info https://nodesecurity.io/advisories/118
Low Incorrect Handling of Non-Boolean Comparisons During
Minification
Package uglify-js
Patched in >= 2.4.24
Dependency of gulp-browserify [dev]
Path gulp-browserify > browserify > umd > ruglify > uglify-js
More info https://nodesecurity.io/advisories/39
Low Regular Expression Denial of Service
Package uglify-js
Patched in >=2.6.0
Dependency of gulp-browserify [dev]
Path gulp-browserify > browserify > umd > uglify-js
More info https://nodesecurity.io/advisories/48
Low Regular Expression Denial of Service
Package debug
Patched in >= 2.6.9 < 3.0.0 || >= 3.1.0
Dependency of browser-sync [dev]
Path browser-sync > localtunnel > debug
More info https://nodesecurity.io/advisories/534
Low Prototype Pollution
Package lodash
Patched in >=4.17.5
Dependency of gulp-replace-task [dev]
Path gulp-replace-task > applause > lodash
More info https://nodesecurity.io/advisories/577
found 6 vulnerabilities (4 low, 1 high, 1 critical) in 17616 scanned packages
6 vulnerabilities require manual review. See the full report for details.
- npm start时的显示:
Hexo Editor is listening at port:2048.
(node:11728) [DEP0061] DeprecationWarning: fs.SyncWriteStream is deprecated.
Hexo init success.
ctrl+c后显示:
npm ERR! code ELIFECYCLE
npm ERR! errno 3221225786
npm ERR! [email protected] start: node server.js
npm ERR! Exit status 3221225786
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional lging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2018-09-30T11_03_3218Z-debug.log
随便提一下,我的博客是zhuochi.org。本人正在读高中,不懂前端,也不会编程…