install atom markdown preview plus error

Installing “markdown-preview-enhanced@0.15.2” failed.Hide output…

npm ERR! Darwin 17.2.0
npm ERR! argv "/private/var/folders/0k/qvz08f_95s9fhzhcm_pk_xjm0000gn/T/AppTranslocation/6E0708C3-AFDC-42C5-AAB7-FAFFC9A7306A/d/Atom.app/Contents/Resources/app/apm/bin/node" "/private/var/folders/0k/qvz08f_95s9fhzhcm_pk_xjm0000gn/T/AppTranslocation/6E0708C3-AFDC-42C5-AAB7-FAFFC9A7306A/d/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/apple/.atom/.apm/.apmrc" "--userconfig" "/Users/apple/.atom/.apmrc" "install" "/private/var/folders/0k/qvz08f_95s9fhzhcm_pk_xjm0000gn/T/d-118111-1742-zmesgd.ucrqxmkj4i/package.tgz" "--runtime=electron" "--target=1.6.15" "--arch=x64" "--global-style"
npm ERR! node v6.9.5
npm ERR! npm v3.10.10 npm ERR! shasum check failed for /var/folders/0k/qvz08f_95s9fhzhcm_pk_xjm0000gn/T/npm-1744-c59a94ce/registry.npmjs.org/_40shd101wyy/mume/-/mume-0.2.9.tgz
npm ERR! Expected: 37943a308ffdd1b0f72b1e2dde6228b57420e25b
npm ERR! Actual: 3608ffc25ad984cd60db9443083acb5f5d656f3a
npm ERR! From: https://registry.npmjs.org/@shd101wyy/mume/-/mume-0.2.9.tgz
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues> npm ERR! Please include the following file with any support request:
npm ERR! /private/var/folders/0k/qvz08f_95s9fhzhcm_pk_xjm0000gn/T/apm-install-dir-118111-1742-1ooa0qv.a066h1714i/npm-debug.log

vv

Last login: Sun Feb 11 19:27:13 on console
AppledeMacBook-Pro:~ apple$ pwd
/Users/apple
AppledeMacBook-Pro:~ apple$ npm
-bash: npm: command not found
AppledeMacBook-Pro:~ apple$ npm install
-bash: npm: command not found
AppledeMacBook-Pro:~ apple$ brew install node
Updating Homebrew...
==> Tapping homebrew/core
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core'...
remote: Counting objects: 4646, done.
remote: Compressing objects: 100% (4433/4433), done.
remote: Total 4646 (delta 52), reused 756 (delta 28), pack-reused 0
Receiving objects: 100% (4646/4646), 3.78 MiB | 529.00 KiB/s, done.
Resolving deltas: 100% (52/52), done.
Tapped 4444 formulae (4,688 files, 11.9MB)
==> Installing dependencies for node: icu4c
==> Installing node dependency: icu4c
==> Downloading https://homebrew.bintray.com/bottles/icu4c-60.2.high_sierra.bott
######################################################################## 100.0%
==> Pouring icu4c-60.2.high_sierra.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local,
because macOS provides libicucore.dylib (but nothing else). If you need to have this software first in your PATH run:
echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.bash_profile
echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.bash_profile For compilers to find this software you may need to set:
LDFLAGS: -L/usr/local/opt/icu4c/lib
CPPFLAGS: -I/usr/local/opt/icu4c/include ==> Summary
上一篇:读书笔记之 - javascript 设计模式 - 单体模式


下一篇:读了这篇文章,你将变身web分析大师