安装 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


0
0

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

.


0
0

ustbhuangyi

2017-07-13

你执行 vue list,能输出内容吗

0
1
yan5796
C:\Users\Administrator>vue Usage: vue [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 按照步骤操作是这样的
2017-07-13
共1条回复

Vue.js2.5+cube-ui重构饿了么App(经典再升级)

掌握Vue1.0到2.0再到2.5最全版本应用与迭代,打造极致流畅的WebApp

9868 学习 · 4162 问题

查看课程