vue-element-admin icon indicating copy to clipboard operation
vue-element-admin copied to clipboard

npm install失败

Open pzting opened this issue 2 years ago • 4 comments

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(格外信息)

  • Your OS:
  • Node.js version:
  • vue-element-admin version:

pzting avatar Aug 16 '22 03:08 pzting

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

anyezhishang avatar Aug 17 '22 03:08 anyezhishang

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

No2015 avatar Aug 30 '22 06:08 No2015

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

可以

johanazhu avatar Sep 01 '22 06:09 johanazhu

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

LLmengxue avatar Sep 09 '22 06:09 LLmengxue

npm install 一直停着没反应

image

jinyutou avatar Nov 15 '22 15:11 jinyutou