npm ERR! Error while executing:
npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t git://github.com/adobe-webplatform/eve.git
npm ERR!
npm ERR! fatal: unable to connect to github.com:
npm ERR! github.com[0: 20.205.243.166]: errno=Unknown error
npm ERR!
npm ERR!
npm ERR! exited with error code: 128
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2024-01-03T04_44_11_866Z-debug.log
npm install安装依赖时报错,打开根目录的package.json文件,删除tui-editor依赖,再执行npm install命令重新安装依赖
安装依赖成功
删除组件路由,打开src/router/modules/components.js文件,删除markdown的路由配置,如下图
删除组件markdown;
npm run dev
运行命令编辑后打开项目