1.报错:

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\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\get-stream
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\mime-db
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\form-data
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\mimic-fn
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\minimatch
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\mkdirp
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\neo-async
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\oauth-sign
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\object-assign
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\onetime
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\os-homedir
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\os-tmpdir
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\path-is-absolute
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\fd-slicer
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\performance-now
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\pify
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\pinkie-promise
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\prepend-http
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\config-chain
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\psl
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\qs
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\run-async
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\safer-buffer
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\asn1
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\iconv-lite
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\seek-bzip
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\signal-exit
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\restore-cursor
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\sprintf-js
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\argparse
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\js-yaml
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\stat-mode
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\string_decoder
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\string-width
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\strip-dirs
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\supports-color
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\chalk
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\log-symbols
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\through
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\timed-out
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\tmp
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\external-editor
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\filenamify
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\unbzip2-stream
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\unzip-response
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\uri-js
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\ajv
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\got
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\bl
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\verror
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\win-fork
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\wordwrap
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\optimist
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\once
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\glob
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\fs-extra
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\co-fs-extra
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\xtend
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\yaml-js
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\download
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\consolidate
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\download-git-repo
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\inquirer
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\multimatch
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\read-metadata
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\ora
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\semver
npm WARN checkPermissions Missing write access to C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\tildify
npm ERR! path C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\get-stream
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall access
npm ERR! enoent ENOENT: no such file or directory, access 'C:\Users\1\AppData\Roaming\npm\node_modules\vue-cli\node_modules\get-stream'
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\1\AppData\Roaming\npm-cache\_logs\2019-05-20T02_40_17_048Z-debug.log

  解决方法:

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

 

转载于:https://www.cnblogs.com/mo3408/p/10892818.html

Logo

前往低代码交流专区

更多推荐