آموزش جاوااسکریپت انجمن ها react native ارور برای رجیستر کردن

در حال نمایش 2 نوشته (از کل 2)
  • نویسنده
    نوشته‌ها
  • #11153 پاسخ
    بهار
    میهمان

    سلام خسته نباشین من تازه react native شروع کردم کدم اجرا میشد ولی یهو تو شبیه سازم ارور امد که رجیستر لازمه
    میشه راهنماییم کنید
    Application untitled has not been registered.

    Hint: This error often happens when you’re running the packager (local dev server) from a wrong folder. For example you have multiple apps and the packager is still running for the app you were working on before.
    If this is the case, simply kill the old packager instance (e.g. close the packager terminal window) and start the packager in the correct app folder (e.g. cd into app folder and run ‘npm start’).

    This error can also happen due to a require() error during initialization or failure to call AppRegistry.registerComponent.

    runApplication

    #11170 پاسخ

    سلام.
    معمولا این مشکل بخاطر دو دلیل اتفاق میفته
    یکی بخاطر اینکه node js به درستی نصب نشده
    یا اینکه packeger در حال اجرا است و شما میخواین یک اپلیکیشن دیگه رو اجرا کنید.
    بهتره که دوباره node js رو نصب کنید و سیستم رو restart کنید و بعدش از دستور react native run android رو اجرا کنید

در حال نمایش 2 نوشته (از کل 2)
پاسخ به: پاسخ#11170 در ارور برای رجیستر کردن
اطلاعات شما: