首页 > 其他分享 >解决vue-element-admin安装报错npm ERR! code 128

解决vue-element-admin安装报错npm ERR! code 128

时间:2023-11-12 21:03:11浏览次数:30  
标签:npm git ERR code vue 报错 ssh

在安装vue-element-admin的npm install的时候报错


npm ERR! code 128

npm ERR! An unknown git error occurred

npm ERR! command git --no-replace-objects ls-remote ssh://[email protected]/nhn/raphael.git

npm ERR! [email protected]: Permission denied (publickey).

npm ERR! fatal: Could not read from remote repository.

npm ERR!

npm ERR! Please make sure you have the correct access rights

npm ERR! and the repository exists.


使用下面的命令,达到,把地址里的 ssh://git@ 换成 https:// 的目的

git config --global url."https://".insteadOf ssh://git@

标签:npm,git,ERR,code,vue,报错,ssh
From: https://blog.51cto.com/u_16308706/8330852

相关文章

  • 使用vue路由
    1.安装vue-router对应版本号为233344使用以下命令[email protected]或者[email protected].在main.js里面使用vue-routerimportVuefrom'vue'importAppfrom'./App.vue'importVueRouterfrom'vue-router'Vue.config.product......
  • Vue使用vuex刷新页面后state数据丢失
    使用 createPersistedState做持久化安装:npminstallvuex-persistedstate--save使用:importVuefrom'vue';importVuexfrom'vuex';importcreatePersistedStatefrom'vuex-persistedstate'importnavCollapsefrom'./modules/navCol......
  • vue基础
    一基础1、v-modelv-bind v-model一般为用户在页面输入的值 而v-bind不行(单项绑定)2、事件v-on  所有定义的方法都应该放在methods中3、vue事件修饰符prevent stop once  4、系统修饰键@keyup   例子@keyup.ctrl="shop" 在按ctrl可以进入绑......
  • vue指令
    props:当不需要检查时,可以写成props:['value']此时,不管传过来什么都不会检查,如果想要将数据进行检查,就可以将改成1.类型验证props:{'value':Number} 此时会限制类型为Number的数据2.如果需要更加完整的检查props:{'value':{type:Number,required:tr......
  • vue平级访问数据
    <template><divclass="a"><h2>thisisA</h2><span>{{msg}}</span></div></template><script>importBusfrom'../Tools/EventBusTool';exportdefault{data(){......
  • vue跨层访问数据
    <template><divclass="grf">thisisgrandpa<FatherComponent></FatherComponent></div></template><script>importFatherComponentfrom'./FatherComponent.vue';exportdefault{......
  • vue封装一个加载过程
    app.vue<template><divclass="main"><divclass="box"v-isLoging="isLoged"><ul><liv-for="iteminlist":key="item.id"class="news">......
  • vue项目部署添加时间
    constfs=require('fs');constpath=require('path');constHtmlWebpackPlugin=require('html-webpack-plugin');classBuildTimePlugin{ apply(compiler){  constbuildTime=+newDate()  compiler.hooks.beforeCompile......
  • 虚拟机下载redis时使用make命令报错
    问题描述使用make命令编译redis时,发现这里一直报错~~问题解决先下载c++编译器:yum-yinstallgcc-c++我是又重新解压了文件,再次使用make命令,就ok啦~......
  • vue无法正确使用mastache渲染实例
    问题:<script>varvm=newvue({el:"#app",data:{message:"hello,vue!"}});</script>这段代码中,`vm`是通过`newVue()`创建的一个Vue实例。但是在HTML文件中,`<divid="app">`元......