You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

在Expo中启动React Native应用时遇错误求助

Expo Go运行React Native应用报错及依赖漏洞问题

错误详情

  • 运行Expo Go时出现弃用警告:
    (node:15876) [DEP0044] DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.
    
  • Android打包失败(耗时13895ms),涉及945个模块,错误指向app(auth)_layout.jsx:
    app(auth)_layout.jsx: C:\Users\asisg\Desktop\react_native_crash_course\app(auth)_layout.jsx: Use process(css).then(cb) to work with async plugins
    
  • 集成Appwrite作为后端前应用运行正常,但当前错误信息未提及Appwrite相关内容
  • 手机端Expo Go应用错误截图:
    手机端Expo Go应用错误截图

已尝试的操作

  • 重新安装Expo后应用恢复正常,但重新安装native-tailwind时收到漏洞提示:
    14个漏洞(3个中等、10个高危、1个严重)
    如需修复所有问题,请运行:
    npm audit fix
    运行`npm audit`查看详情。
    
  • 多次执行npm audit fix,但漏洞问题仍未解决

内容的提问来源于stack exchange,提问作者Gabriel Asis

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.22 10:39:49