老版本无法删除
wanglimindeMacBook-Air:Desktop wanglimin$ npm uninstall vue-cli -g
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/absolute
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/ansi-escapes
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/ansi-regex
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/ansi-wrap
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/ansi-red
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/array-differ
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/array-uniq
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/array-union
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/arrify
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/assert-plus
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/asynckit
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/aws-sign2
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/aws4
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/balanced-match
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/base64-js
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/bluebird
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/buffer-alloc-unsafe
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/buffer-crc32
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/buffer-fill
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/buffer-alloc
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/builtins
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/capture-stack-trace
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/caseless
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/chardet
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/cli-spinners
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/cli-width
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/clone
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/co
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/co-read
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/co-from-stream
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/coffee-script
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/color-name
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/color-convert
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/ansi-styles
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/commander
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/concat-map
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/brace-expansion
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/consolidate
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/core-util-is
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/create-error-class
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/dashdash
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/decompress-tarbz2/node_modules/file-type
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/decompress-unzip/node_modules/file-type
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/delayed-stream
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/combined-stream
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/duplexer3
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/enable
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/escape-string-regexp
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/esprima
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/extend
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/extsprintf
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/fast-deep-equal
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/fast-json-stable-stringify
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/figures
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/file-type
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/filename-reserved-regex
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/forever-agent
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/fs-constants
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/fs.realpath
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/get-stream
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/getpass
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/git-clone
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/graceful-fs
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/har-schema
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/has-ansi/node_modules/ansi-regex
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/has-ansi
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/has-flag
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/has-generators
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/has-symbol-support-x
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/has-to-string-tag-x
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/ieee754
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/buffer
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/inherits
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/ini
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/is
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/is-extendable
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/extend-shallow
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/is-fullwidth-code-point
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/is-natural-number
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/is-object
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/is-redirect
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/is-retry-allowed
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/is-stream
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/is-typedarray
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/is-utf8
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/isarray
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/isstream
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/isurl
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/jsbn
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/json-schema
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/json-schema-traverse
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/json-stringify-safe
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/jsonfile
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/klaw
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/lodash
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/async
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/lowercase-keys
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/make-dir/node_modules/pify
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/make-dir
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/metalsmith/node_modules/ansi-regex
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/metalsmith/node_modules/ansi-styles
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/metalsmith/node_modules/strip-ansi
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/metalsmith/node_modules/supports-color
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/metalsmith/node_modules/chalk
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/mime-db
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/mime-types
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/form-data
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/mimic-fn
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/minimatch
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/minimist
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/mkdirp
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/multimatch
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/mute-stream
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/neo-async
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/npm-conf/node_modules/pify
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/oauth-sign
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/object-assign
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/onetime
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/os-homedir
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/os-tmpdir
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/path-is-absolute
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/pend
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/fd-slicer
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/performance-now
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/pify
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/pinkie
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/pinkie-promise
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/decompress-unzip/node_modules/get-stream
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/prepend-http
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/process-nextick-args
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/proto-list
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/config-chain
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/npm-conf
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/get-proxy
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/psl
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/punycode
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/qs
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/readable-stream/node_modules/safe-buffer
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/recursive-readdir
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/run-async
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/safe-buffer
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/safer-buffer
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/asn1
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/ecc-jsbn
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/iconv-lite
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/seek-bzip
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/semver
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/signal-exit
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/restore-cursor
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/cli-cursor
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/source-map
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/sprintf-js
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/argparse
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/js-yaml
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/stat-mode
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/string_decoder/node_modules/safe-buffer
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/string_decoder
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/string-width/node_modules/strip-ansi
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/string-width
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/strip-ansi/node_modules/ansi-regex
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/strip-ansi
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/strip-dirs
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/strip-outer
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/supports-color
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/chalk
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/log-symbols
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/ora
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/through
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/thunkify
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/thunkify-wrap
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/tildify
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/timed-out
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/tmp
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/external-editor
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/to-buffer
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/toml
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/gray-matter
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/tough-cookie
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/trim-repeated
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/filenamify
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/tslib
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/rxjs
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/inquirer
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/tunnel-agent
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/tweetnacl
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/bcrypt-pbkdf
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/sshpk
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/uglify-js
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/uid
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/unbzip2-stream
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/unyield
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/unzip-response
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/uri-js
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/ajv
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/har-validator
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/url-parse-lax
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/got
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/url-to-options
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/caw
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/user-home
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/util-deprecate
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/readable-stream
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/bl
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/uuid
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/validate-npm-package-name
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/verror
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/jsprim
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/http-signature
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/request
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/win-fork
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/wordwrap
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/handlebars
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/wrap-fn
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/ware
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/wrappy
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/once
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/end-of-stream
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/inflight
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/glob
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/rimraf
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/fs-extra
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/co-fs-extra
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/metalsmith
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/xtend
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/tar-stream
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/decompress-tar
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/decompress-tarbz2
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/decompress-targz
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/yaml-js
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/read-metadata
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/yauzl
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/decompress-unzip
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/decompress
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/download
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/download-git-repo
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/decompress-tarbz2/node_modules
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/decompress-unzip/node_modules
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/has-ansi/node_modules
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/make-dir/node_modules
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/metalsmith/node_modules
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/npm-conf/node_modules
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/readable-stream/node_modules
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/string_decoder/node_modules
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/string-width/node_modules
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/vue-cli/node_modules/strip-ansi/node_modules
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
npm ERR! code EACCES
npm ERR! syscall access
npm ERR! path /usr/local/lib/node_modules/vue-cli/node_modules/absolute
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules/vue-cli/node_modules/absolute'
npm ERR! [Error: EACCES: permission denied, access '/usr/local/lib/node_modules/vue-cli/node_modules/absolute'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/local/lib/node_modules/vue-cli/node_modules/absolute'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/wanglimin/.npm/_logs/2021-03-25T15_23_46_753Z-debug.log
如上图提示,无法顺利卸载老版本
版本还是为 2.9.6
wanglimindeMacBook-Air:Desktop wanglimin$ vue -V
2.9.6
27
收起
正在回答 回答被采纳积分+1
3回答
4.Vue与React高级框架开发
- 参与学习 人
- 提交作业 239 份
- 解答问题 10739 个
本阶段带你深入前端开发的肌理,通过ES6基础知识和前端主流高级框架的学习,助你快速构建企业级移动webAPP应用,进入职场的终极battle
了解课程
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星