IT门户, 中国互联网人工智能物联网行业资讯平台--公众IT

当前位置:公众IT > 技术文章 >

新闻来源:互联网资料整理       发布时间:2023/4/5 17:56:42       共计:4732 浏览

前言:

随着百度小程序的风头正劲,越来越多的站长投入到百度小程序的开发中来,但是开发过程中难免会碰到诸多问题无法自己解决,2020-11-27小编发现百度用户:【miniapphi485er0drovc】提出了一个关于“开发者工具编译报错”的问题,在问题中开发者miniapphi485er0drovc对该问题做了如下阐述:

问题类型:

  • 问题类型:bug

问题描述:

前置操作(正常执行某类操作)

打开dist目录

预期结果(应该出现的结果)

正常打开

实际结果(实际出现的异常结果)

index.js:1 [Module Factory] modular pages/index/index execution fail:Cannot read property 'init' of undefinedError: [Module Factory] modular pages/index/index execution fail:Cannot read property 'init' of undefinedat file:///C:/Users/user/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.230.33/master/index.js:1:469115at o (file:///C:/Users/user/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.230.33/master/index.js:1:465411)at c (file:///C:/Users/user/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.230.33/master/index.js:1:467271)at file:///C:/Users/user/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.230.33/master/index.js:1:570171at u (file:///C:/Users/user/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.230.33/master/index.js:1:526723)at e.value (file:///C:/Users/user/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.230.33/master/index.js:1:570680)at e.value (file:///C:/Users/user/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.230.33/master/index.js:1:570040)at e.value (file:///C:/Users/user/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.230.33/master/index.js:1:562424)at file:///C:/Users/user/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.230.33/master/index.js:1:562196at file:///D:/Programs/swan-ide-gui/resources/app/build-3.20.2/app.asar/dist/extensions/simulator/dist/runtime/master-worker.js:1:14517ext msg: {}

二维码图片/视频复现demo?

该图片引用百度小程序公众平台

注:以上是百度小程序开发者:"miniapphi485er0drovc"对于本问题的一些阐述,这里做一个引用,我们将实时关注百度小程序助手对该问题提出的解决方案。

解决方案:

【2020-12-09】百度官方对用户miniapphi485er0drovc提出的开发者工具编译报错给予如下回复

已经联系开发者勾选源码重新提问题。

结语:

百度小程序的优势是,其用户体验可以最大限度的接近Native App。因此,百度智能小程序也把用户体验作为一个核心进行了优化

如果您也在使用百度小程序,请关注我们,如果您有关于百度小程序的使用问题请联系我们,或者去百度小程序平台找官方人员给予解决,相信百度在小程序上的发力会是一个里程碑!

版权说明:
本网站凡注明“公众IT 原创”的皆为本站原创文章,如需转载请注明出处!
本网转载皆注明出处,遵循行业规范,如发现作品内容版权或其它问题的,请与我们联系处理!
您可以扫描右侧微信二维码联系我们。
·上一条: | ·下一条:
同类资讯
网站首页 关于我们 联系我们 合作联系 会员说明 新闻投稿 隐私协议 网站地图