您好,欢迎来到知库网。
搜索
您的当前位置:首页React Native的坑

React Native的坑

来源:知库网
  1. Q:环境配置出现错误

    A:执行命令npm config set registry
    npm请求使用 https 代替 http
  2. Q:运行错误
    报错信息: Unhandled JS Exception: Application [name] has not been registered. This is either due to a require() error during initialization or failure to call AppRegistry.registerComponent.


    报错信息

    A: 这是由于RN 的运行会借助于本地服务,打开终端. 现将终端关闭.运行新的项目时,终端会自动重新打开

Copyright © 2019- zicool.com 版权所有 湘ICP备2023022495号-2

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务