安装 vue-cli的时候报错,是因为之前已经安装过脚手架了吗?
来源:13-1 Vue-cli介绍

yan5796
2017-07-13
C:\Users\Administrator>npm install -g vue-cli
npm ERR! Maximum call stack size exceeded
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2017-07-13T0
2_41_07_505Z-debug.log
3回答
-
yan5796
提问者
2017-07-13
npm install 的时候报错
npm ERR! code EINTEGRITY
npm ERR! sha1-l8/Eg4Ze6oV33Ho2dJKbmr9VMJU= integrity checksum failed when using
sha1: wanted sha1-l8/Eg4Ze6oV33Ho2dJKbmr9VMJU= but got sha1-mgZMi5fBrCaRVrfM2Sa6
yfp3qUw=. (655344 bytes)
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2017-07-13T0
5_57_15_729Z-debug.log
00 -
yan5796
提问者
2017-07-13
C:\Users\Administrator>vue
Usage: vue <command> [options]
Options:
-V, --version output the version number
-h, --help output usage information
Commands:
init generate a new project from a templ
list list available official templates
build prototype a new project
help [cmd] display help for [cmd]
C:\Users\Administrator>vue list
Available official templates:
★ browserify - A full-featured Browserify + vueify setup with hot-reload, li
nting & unit testing.
★ browserify-simple - A simple Browserify + vueify setup for quick prototypi
ng.
★ pwa - PWA template for vue-cli based on the webpack template
★ simple - The simplest possible Vue setup in a single HTML file
★ webpack - A full-featured Webpack + vue-loader setup with hot reload, lint
ing, testing & css extraction.
★ webpack-simple - A simple Webpack + vue-loader setup for quick prototyping
.
00 -
ustbhuangyi
2017-07-13
你执行 vue list,能输出内容吗
012017-07-13
相似问题