nmp安装vue-cli时报错解决方法:

npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\amdefine
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\ansi-regex
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\ansi-red
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\array-uniq
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\array-differ
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\array-union
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\arrify
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\asynckit
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\aws-sign2
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\buffer-alloc-unsafe
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\bluebird
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\buffer-fill
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\chardet
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\co
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\co-from-stream
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\color-convert
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\concat-map
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\dashdash
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\decamelize
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\esprima
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\combined-stream
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\extend
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\extsprintf
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\fast-json-stable-stringify
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\figures
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\filename-reserved-regex
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\fs.realpath
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\getpass
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\git-clone
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\har-schema
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\has-flag
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\has-symbol-support-x
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\has-to-string-tag-x
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\ini
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\is-buffer
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\is-extendable
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\is-natural-number
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\is-fullwidth-code-point
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\is-redirect
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\is-utf8
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\isstream
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\isarray
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\buffer
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\isurl
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\jsbn
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\json-stringify-safe
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\klaw
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\longest
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\mime-db
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\mime-types
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\minimatch
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\mkdirp
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\object-assign
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\os-tmpdir
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\os-homedir
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\path-is-absolute
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\pend
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\performance-now
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\pinkie
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\prepend-http
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\get-proxy
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\psl
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\qs
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\repeat-string
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\align-text
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\cliui
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\run-async
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\asn1
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\safer-buffer
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\signal-exit
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\argparse
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\js-yaml
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\stat-mode
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\string_decoder
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\log-symbols
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\thunkify
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\timed-out
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\thunkify-wrap
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\tmp
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\to-buffer
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\toml
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\tough-cookie
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\trim-repeated
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\filenamify
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\tweetnacl
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\bcrypt-pbkdf
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\sshpk
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\unbzip2-stream
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\unyield
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\unzip-response
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\caw
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\readable-stream
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\bl
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\jsprim
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\win-fork
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\window-size
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\optimist
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\glob
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\rimraf
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\fs-extra
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\co-fs-extra
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\xtend
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\tar-stream
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\decompress-tarbz2
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\yaml-js
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\yauzl
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\decompress-unzip
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\consolidate
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\download-git-repo
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\ora
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\read-metadata
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\tildify
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\uid
npm WARN checkPermissions Missing write access to C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\validate-npm-package-name
npm ERR! path C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\amdefine
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall access
npm ERR! enoent ENOENT: no such file or directory, access 'C:\Users\ipc\AppData\Roaming\npm\node_modules\vue-cli\node_modules\amdefine'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\ipc\AppData\Roaming\npm-cache\_logs\2018-08-22T01_25_42_399Z-debug.log

 

 

使用cnpm进行重装 cnpm install --global vue-cli

vue -V查看版本 V大写

Logo

前往低代码交流专区

更多推荐