Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install失败 #4049

Open
pzting opened this issue Aug 16, 2022 · 5 comments
Open

npm install失败 #4049

pzting opened this issue Aug 16, 2022 · 5 comments

Comments

@pzting
Copy link

pzting commented Aug 16, 2022

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:
@anyezhishang
Copy link

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

@No2015
Copy link

No2015 commented Aug 30, 2022

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

@johanazhu
Copy link

@LLmengxue
Copy link

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
Copy link

npm install 一直停着没反应

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants