RN 打包运行报错 “cannot find variable atob”
最新推荐文章于 2024-06-12 00:01:40 发布
当在React Native项目中关闭Remote Debug或打包运行时,遇到'cannot find variable atob'的错误。解决方法是安装buffer包,并使用polyfill添加atob的处理。需要在项目的index.js文件开头引入相关polyfill。
摘要由CSDN通过智能技术生成