调用uni.canvasGetImageData 出现"errMsg": "canvasGetImageData:fail ReferenceError: require is not defined",
本来vue2好好的,切换到vue3并且把HbuilderX升级到最新的,就出现问题了。
3***@qq.com
- 发布:2021-11-13 00:44
- 更新:2021-12-20 11:43
- 阅读:681
uni.canvasGetImageData报错 "errMsg": "canvasGetImageData:fail ReferenceError: require is not defined"
分类:uni-app
3 个回复
牧羊少年
遇到同样的问题
DCloud_UNI_Anne
问题已记录后续优化,已加分,感谢您的反馈!相关问题:https://ask.dcloud.net.cn/question/134355
DCloud_UNI_Anne
alpha 3.3.1+ 已修复,请升级
3***@qq.com
并没有彻底修复,3.3.11版本, var crypto = require('crypto'); 出现下面提示:
reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught ReferenceError: require is not defined
2022-03-14 02:09