Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

安装vant-weapp的组件失败 #3

Open
zengyuanqiu opened this issue Apr 1, 2019 · 2 comments
Open

安装vant-weapp的组件失败 #3

zengyuanqiu opened this issue Apr 1, 2019 · 2 comments

Comments

@zengyuanqiu
Copy link

报错如下
Install component field fail.
You can try cmd: 'cli.js install field --no-cache' to fix it.

@dancon
Copy link
Contributor

dancon commented Apr 13, 2019

@zengyuanqiu
首先非常抱歉这么晚回复你

我自己安装了下,没有遇到你的这个问题,不知道你是这么安装的,是否可以提供更详细的操作过程,通常在项目初始化完成后,通过以下命令来装 vant-weapp 的组件,比如我们要安装 dialog

## 进入到项目根目录
pa i dialog

如果是第一次安装结果如下:

image

解释下,在微信小程序项目中,安装组件,我会先去下载 vant-weapp 的包到本地缓存,然后在从缓存中找改组件然后递归的寻找其依赖

不知上述的回复是否对你遇到的问题有所帮助,如果问题依旧,可以提供更加详细的操作路径和错误日志。

@littlebaozi
Copy link

littlebaozi commented Jul 17, 2019

Install component dialog fail.
[15:48:24] You can try cmd: 'cli.js install dialog --no-cache' to fix it.
Error: mkdirs fails...

windows报错
wsl正常

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

No branches or pull requests

3 participants