DeBugLIn
2019-05-15 16:17
thirdScriptError
sdk uncaught third Error
module "miniprogram_npm/vant-weapp/picker/shared" is not defined
Error: module "miniprogram_npm/vant-weapp/picker/shared" is not defined
at require (http://127.0.0.1:53761/appservice/__dev__/WAService.js:22:26700)
at http://127.0.0.1:53761/appservice/__dev__/WAService.js:22:26448
at http://127.0.0.1:53761/appservice/miniprogram_npm/vant-weapp/area/index.js:7:15
at require (http://127.0.0.1:53761/appservice/__dev__/WAService.js:22:26841)
at <anonymous>:182:7
at HTMLScriptElement.scriptLoaded (http://127.0.0.1:53761/appservice/appservice?t=1557908151826:4450:21)
at HTMLScriptElement.script.onload (http://127.0.0.1:53761/appservice/appservice?t=1557908151826:4462:20)
console.error @ VM8816:1
(anonymous) @ WAService.js:14
(anonymous) @ WAService.js:6
e @ appservice?t=1557908151826:3959
window.onerror @ VM8816:1
scriptLoaded @ appservice?t=1557908151826:4450
script.onload @ appservice?t=1557908151826:4462
应该是vant-weapp安装时候没安装好,手动删除miniprogram_npm文件夹,然后重新安装一下vant,应该就会好了。
把node_modules里的dist文件夹复制到miniprogram_npm的就好了
轻松入门微信小程序与云开发
64548 学习 · 1742 问题
相似问题
回答 3
回答 1