微信小程序vant安装报错:VM2120:1 thirdScriptError sdk uncaught third Error module "miniprogram_npm/@van...

导入执行后

微信小程序vant安装报错:VM2120:1 thirdScriptError sdk uncaught third Error module
image.png

解决方法:
把miniprogram_npm/@vant/weapp里的组件文件夹都删除,
之后再 https://github.com/youzan/vant-weapp下载一份vant, 将dist文件夹(vant-weapp-dev\vant-weapp-dev\dist)中的文件复制到项目的miniprogram_npm/@vant/weapp.

即下载一份vant,之后替换掉项目中的文件

保存后解决


微信小程序vant安装报错:VM2120:1 thirdScriptError sdk uncaught third Error module
image.png

image.png

微信小程序vant安装报错:VM2120:1 thirdScriptError sdk uncaught third Error module
image.png

你可能感兴趣的:(微信小程序vant安装报错:VM2120:1 thirdScriptError sdk uncaught third Error module "miniprogram_npm/@van...)