栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

element-admin npm install 问题

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

element-admin npm install 问题

报错:git --no-replace-objects ls-remote https://github.com.cnpmjs.org/nhn/raphael.git
fatal: unable to access ‘https://github.com.cnpmjs.org/nhn/raphael.git/’: Failed to connect to 127.0.0.1 port 1080 after 2037 ms: Connection refused

尝试网上配公钥、git代理等ssh解决方法,发现都不行,原来这个错的原因是 tui-editor 改名引起的
方法参考:
https://www.panziye.com/java/web/4794.html
注意:
文章中那import的四行代码,第二行的路径和文件名已经变了,需要自己确认这个包内文件路径是否写对了,否则运行出错

import ‘codemirror/lib/codemirror.css’
import ‘@toast-ui/editor/dist/toastui-editor.css’
import Editor from ‘@toast-ui/editor’
import defaultOptions from ‘./default-options’

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/939293.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号