使用brew安装node以后,node-v不显示版本号,whichnode没有显示,/usr/local/bin下也没有node之前用这个命令把pkg的安装包删了sudorm-rf/usr/local/{bin/{node,npm},lib/node_modules/npm,lib/node,share/man//node.}然后用brew安装==>Downloadinghttps://homebrew.bintray.com/bottles/node-10.0.0.high_sierra.bottle.tar.gzAlreadydownloaded:/Users/sheng/Library/Caches/Homebrew/node-10.0.0.high_sierra.bottle.tar.gz==>Pouringnode-10.0.0.high_sierra.bottle.tar.gzError:The`brewlink`stepdidnotcompletesuccessfullyTheformulabuilt,butisnotsymlinkedinto/usr/localCouldnotsymlinkinclude/node/android-ifaddrs.hTarget/usr/local/include/node/android-ifaddrs.halreadyexists.Youmaywanttoremoveit:rm'/usr/local/include/node/android-ifaddrs.h'Toforcethelinkandoverwriteallconflictingfiles:brewlink--overwritenodeTolistallfilesthatwouldbedeleted:brewlink--overwrite--dry-runnodePossibleconflictingfilesare:/usr/local/include/node/android-ifaddrs.h/usr/local/include/node/common.gypi/usr/local/include/node/config.gypi/usr/local/include/node/libplatform/libplatform-export.h/usr/local/include/node/libplatform/libplatform.h/usr/local/include/node/libplatform/v8-tracing.h/usr/local/include/node/node.h/usr/local/include/node/node_api.h/usr/local/include/node/node_api_types.h/usr/local/include/node/node_buffer.h/usr/local/include/node/node_object_wrap.h/usr/local/include/node/node_version.h/usr/local/include/node/openssl/aes.h/usr/local/include/node/openssl/asn1.h/usr/local/include/node/openssl/asn1_mac.h/usr/local/include/node/openssl/asn1t.h/usr/local/include/node/openssl/bio.h/usr/local/include/node/openssl/blowfish.h/usr/local/include/node/openssl/bn.h/usr/local/include/node/openssl/buffer.h/usr/local/include/node/openssl/camellia.h/usr/local/include/node/openssl/cast.h/usr/local/include/node/openssl/cmac.h/usr/local/include/node/openssl/cms.h/usr/local/include/node/openssl/comp.h/usr/local/include/node/openssl/conf.h/usr/local/include/node/openssl/conf_api.h/usr/local/include/node/openssl/crypto.h/usr/local/include/node/openssl/des.h/usr/local/include/node/openssl/dh.h/usr/local/include/node/openssl/dsa.h/usr/local/include/node/openssl/dtls1.h/usr/local/include/node/openssl/e_os2.h/usr/local/include/node/openssl/ebcdic.h/usr/local/include/node/openssl/ec.h/usr/local/include/node/openssl/ecdh.h/usr/local/include/node/openssl/ecdsa.h/usr/local/include/node/openssl/engine.h/usr/local/include/node/openssl/err.h/usr/local/include/node/openssl/evp.h/usr/local/include/node/openssl/hmac.h/usr/local/include/node/openssl/idea.h/usr/local/include/node/openssl/lhash.h/usr/local/include/node/openssl/md4.h/usr/local/include/node/openssl/md5.h/usr/local/include/node/openssl/mdc2.h/usr/local/include/node/openssl/modes.h/usr/local/include/node/openssl/obj_mac.h/usr/local/include/node/openssl/objects.h/usr/local/include/node/openssl/ocsp.h/usr/local/include/node/openssl/opensslconf.h/usr/local/include/node/openssl/opensslv.h/usr/local/include/node/openssl/ossl_typ.h/usr/local/include/node/openssl/pem.h/usr/local/include/node/openssl/pem2.h/usr/local/include/node/openssl/pkcs12.h/usr/local/include/node/openssl/pkcs7.h/usr/local/include/node/openssl/rand.h/usr/local/include/node/openssl/rc2.h/usr/local/include/node/openssl/rc4.h/usr/local/include/node/openssl/ripemd.h/usr/local/include/node/openssl/rsa.h/usr/local/include/node/openssl/safestack.h/usr/local/include/node/openssl/seed.h/usr/local/include/node/openssl/sha.h/usr/local/include/node/openssl/srp.h/usr/local/include/node/openssl/srtp.h/usr/local/include/node/openssl/ssl.h/usr/local/include/node/openssl/ssl2.h/usr/local/include/node/openssl/ssl3.h/usr/local/include/node/openssl/stack.h/usr/local/include/node/openssl/symhacks.h/usr/local/include/node/openssl/tls1.h/usr/local/include/node/openssl/ts.h/usr/local/include/node/openssl/txt_db.h/usr/local/include/node/openssl/ui.h/usr/local/include/node/openssl/whrlpool.h/usr/local/include/node/openssl/x509.h/usr/local/include/node/openssl/x509_vfy.h/usr/local/include/node/openssl/x509v3.h/usr/local/include/node/pthread-barrier.h/usr/local/include/node/stdint-msvc2008.h/usr/local/include/node/tree.h/usr/local/include/node/uv-aix.h/usr/local/include/node/uv-bsd.h/usr/local/include/node/uv-darwin.h/usr/local/include/node/uv-errno.h/usr/local/include/node/uv-linux.h/usr/local/include/node/uv-os390.h/usr/local/include/node/uv-posix.h/usr/local/include/node/uv-sunos.h/usr/local/include/node/uv-threadpool.h/usr/local/include/node/uv-unix.h/usr/local/include/node/uv-version.h/usr/local/include/node/uv-win.h/usr/local/include/node/uv.h/usr/local/include/node/v8-inspector-protocol.h/usr/local/include/node/v8-inspector.h/usr/local/include/node/v8-platform.h/usr/local/include/node/v8-profiler.h/usr/local/include/node/v8-testing.h/usr/local/include/node/v8-util.h/usr/local/include/node/v8-value-serializer-version.h/usr/local/include/node/v8-version-string.h/usr/local/include/node/v8-version.h/usr/local/include/node/v8.h/usr/local/include/node/v8config.h/usr/local/include/node/zconf.h/usr/local/include/node/zlib.h/usr/local/share/doc/node/gdbinit/usr/local/share/doc/node/lldb_commands.py/usr/local/share/doc/node/lldbinit/usr/local/share/systemtap/tapset/node.stp/usr/local/lib/dtrace/node.d==>CaveatsBashcompletionhasbeeninstalledto:/usr/local/etc/bash_completion.d==>Summary?/usr/local/Cellar/node/10.0.0:5,301files,51.5MB
哔哔one
牛魔王的故事
相关分类