Open linjiyou opened 4 years ago
因为里面的vant用的是H5版本,所以只能在浏览器查看! vant分小程序版和H5版,不通用的,还有就是如果想正常在浏览器端浏览,需要先npm i 初始化------------------ 原始邮件 ------------------ 发件人: "linjiyou"notifications@github.com 发送时间: 2020年4月4日(星期六) 晚上7:42 收件人: "cgq001/dingdong"dingdong@noreply.github.com; 抄送: "Subscribed"subscribed@noreply.github.com; 主题: [cgq001/dingdong] 用模拟器出现错误 (#5)
19:35:23.751 [错误] ERR: ./pages/details/details.vue(99:51): error at token { 19:35:23.755 ./pages/shoplist/shoplist.wxss(34:67): error at token { 19:35:23.762 error file count: 0 19:35:25.897 DONE Build complete. Watching for changes... 19:35:25.904 项目 'dingdong' 编译成功. 19:35:25.905 WARNING: 19:35:26.133 正在建立手机连接... 19:35:27.182 正在同步手机端程序文件... 19:35:28.743 同步手机端程序文件完成 19:35:29.154 正在启动HBuilder调试基座... 19:35:30.714 应用【叮当买菜】已启动... 19:35:32.887 reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Exception: TypeError: undefined is not an object (evaluating 'navigator.userAgent') 19:35:32.908 isIOS 19:35:32.928 eval code 19:35:32.949 eval@[native code] 19:35:32.969 weex createInstanceContext:2288:5 19:35:32.989 webpack_require@weex createInstanceContext:1560:35 19:35:33.010 eval code 19:35:33.030 eval@[native code] 19:35:33.051 weex createInstanceContext:2255:5 19:35:33.071 webpack_require@weex createInstanceContext:1560:35 19:35:33.092 eval code 19:35:33.112 eval@[native code] 19:35:33.133 weex createInstanceContext:2167:5 19:35:33.153 webpack_require@weex createInstanceContext:1560:35 19:35:33.174 eval code 19:35:33.194 eval@[native code] 19:35:33.215 weex createInstanceContext:1804:5 19:35:33.235 webpack_require@weex createInstanceContext:1560:35 19:35:33.276 eval code 19:35:33.297 eval@[native code] 19:35:33.317 weex createInstanceContext:1413:5 19:35:33.338 webpack_require@weex createInstanceContext:1560:35 19:35:33.358 checkDeferredModules@weex createInstanceContext:1527:45 19:35:33.379 weex createInstanceContext:1404:61 19:35:33.399 require@weex createInstanceContext:4:665986 19:35:33.420 weex createInstanceContext:4:665601 19:35:33.440 weex createInstanceContext:5138:8 19:35:33.461 require@weex createInstanceContext:4:665986 19:35:33.481 global code@weex createInstanceContext:5140:8 19:35:33.522 getTemplateInfo== template md5 47c108dbc6b980b201981b5b4eff0740 length 7065354 base64 md5 R8EI28a5gLIBmBtbTv8HQA== response header {"templateSourceBase64MD5":["R8EI28a5gLIBmBtbTv8HQA=="],"templateSourceMD5":["47c108dbc6b980b201981b5b4eff0740"]}
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
19:35:23.751 [错误] ERR: ./pages/details/details.vue(99:51): error at token
{
19:35:23.755 ./pages/shoplist/shoplist.wxss(34:67): error at token{
19:35:23.762 error file count: 0 19:35:25.897 DONE Build complete. Watching for changes... 19:35:25.904 项目 'dingdong' 编译成功. 19:35:25.905 WARNING: 19:35:26.133 正在建立手机连接... 19:35:27.182 正在同步手机端程序文件... 19:35:28.743 同步手机端程序文件完成 19:35:29.154 正在启动HBuilder调试基座... 19:35:30.714 应用【叮当买菜】已启动... 19:35:32.887 reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Exception: TypeError: undefined is not an object (evaluating 'navigator.userAgent') 19:35:32.908 isIOS 19:35:32.928 eval code 19:35:32.949 eval@[native code] 19:35:32.969 weex createInstanceContext:2288:5 19:35:32.989 webpack_require@weex createInstanceContext:1560:35 19:35:33.010 eval code 19:35:33.030 eval@[native code] 19:35:33.051 weex createInstanceContext:2255:5 19:35:33.071 webpack_require@weex createInstanceContext:1560:35 19:35:33.092 eval code 19:35:33.112 eval@[native code] 19:35:33.133 weex createInstanceContext:2167:5 19:35:33.153 webpack_require@weex createInstanceContext:1560:35 19:35:33.174 eval code 19:35:33.194 eval@[native code] 19:35:33.215 weex createInstanceContext:1804:5 19:35:33.235 webpack_require@weex createInstanceContext:1560:35 19:35:33.276 eval code 19:35:33.297 eval@[native code] 19:35:33.317 weex createInstanceContext:1413:5 19:35:33.338 __webpack_require__@weex createInstanceContext:1560:35 19:35:33.358 checkDeferredModules@weex createInstanceContext:1527:45 19:35:33.379 weex createInstanceContext:1404:61 19:35:33.399 require@weex createInstanceContext:4:665986 19:35:33.420 weex createInstanceContext:4:665601 19:35:33.440 weex createInstanceContext:5138:8 19:35:33.461 require@weex createInstanceContext:4:665986 19:35:33.481 global code@weex createInstanceContext:5140:8 19:35:33.522 getTemplateInfo== template md5 47c108dbc6b980b201981b5b4eff0740 length 7065354 base64 md5 R8EI28a5gLIBmBtbTv8HQA== response header {"templateSourceBase64MD5":["R8EI28a5gLIBmBtbTv8HQA=="],"templateSourceMD5":["47c108dbc6b980b201981b5b4eff0740"]}