mariadb

第 532 位会员

会员
个人信息
  • 加入于 2018-06-06 22:11:57
  • 最后登录时间 5年前
个人成就
  • 发表文章次数 0
  • 发布回复次数 1
  • 个人主页浏览次数 0
WINDOW 下安装 vue-element-admin5年前

原来:

python 3.3.2
npm 5.6
node 8.9.4

python 3.6.5
npm 5.6
node 8.11.2

步骤:

1.安装python 3 :https://www.python.org/downloads/

2.安装nodejs:http://www.fecshop.com/topic/686

3.安装完node , npm自动安装,

npm 升级到制定版本:https://blog.csdn.net/liangxw1/article/details/78525970

npm install -g npm@5.6

npm cache clean -f
npm cache clean --force

npm 清空缓存:之前前使用第一个方法清空了一次缓存,然后出现报错

npm ERR! code EINTEGRITY
npm ERR! sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA== integrity checksum failed when using sha512: wanted sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA== but got sha512-n+6hC9m8/M79/zP73OVephxorZkaamBKLLwslR3SOUCqGyBpmyWwfdmqEs/NZGksb86QEJawH8+fz6iKNrYJKw==. (48732 bytes)

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\likang\AppData\Roaming\npm-cache\_logs\2017-12-14T11_24_54_278Z-debug.log

使用 npm cache clean --force 重新清理,然后重新 npm install, 成功

2.启动

npm run dev

出现问题提示:

No parser and no filepath given, using 'babylon' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.

资料:https://segmentfault.com/q/1010000015148975 提示,这是警告信息,不影响

因此,不用管,最后启动成功

Your Site Analytics