PanJiaChen / vue-element-admin

:tada: A magical vue admin https://panjiachen.github.io/vue-element-admin
MIT License
87.5k stars 30.42k forks source link

npm install失败 #4049

Open pzting opened 2 years ago

pzting commented 2 years ago

Bug report(问题描述)

npm install失败

Steps to reproduce(问题复现步骤)

1,根据提示直接克隆,然后安装出现问题 2,安装过程是有node_modules文件夹的,安装结束就没这个文件夹 3,node和npm的版本,试过了node16是可以的 image

Screenshot or Gif(截图或动态图)

image image

Link to minimal reproduction(最小可在线还原demo)

Other relevant information(格外信息)

anyezhishang commented 2 years ago

git配置要改一下: git config --global url."https://".insteadOf git:// 然后重新运行 npm install就行或者npm install --registry=https://registry.npm.taobao.org使用淘宝镜像

No2015 commented 2 years ago

https://www.panziye.com/java/web/4794.html

johanazhu commented 2 years ago

https://www.panziye.com/java/web/4794.html

可以

LLmengxue commented 1 year ago

1.克隆以后 删除package.json中tui-editor:1.3.3

2.\src\components\MarkdownEditor\index.vue文件,将全部import换成下面几个 import 'codemirror/lib/codemirror.css' import '@toast-ui/editor/dist/toastui-editor.css' import Editor from '@toast-ui/vue-editor' import defaultOptions from './default-options' 并将该文件下的getValue和setValue分别换成getMarkdown和setMarkdown

3.单独安装tui-editor npm install --save @toast-ui/vue-editor

4.安装其他依赖 npm i

5.跑起来 npm run dev

jinyutou commented 1 year ago

npm install 一直停着没反应

image