جشنواره عیدانه راکت | عضویت ویژه راکت برای آخرین بار | افزایش قیمت‌ها از سال جدید | و ...

مشاهده اطلاعات بیشتر...
ثانیه
دقیقه
ساعت
روز
سینا مردانی
4 سال پیش توسط سینا مردانی مطرح شد
1 پاسخ

ارور هنگام ساخت پروژه react-native

سلام
خسته نباشید. قبلا پروژه react ایجاد میشد بدون هیچ گونه اروری ولی الان ویندوز عوض کردم و با ارور زیر مواجه میشم من تازه کار هستم و هنوز با ارور های react آشنایی ندارم ممنون میشم کمک کنید

This will walk you through creating a new React Native project in D:\Project ReactNative And Databasee\myapp
'yarn' is not recognized as an internal or external command,
operable program or batch file.
Installing react-native...
Consider installing yarn to make this faster: https://yarnpkg.com
npm WARN deprecated core-js@2.6.11: core-js@<۳ is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated core-js@1.2.7: core-js@<۳ is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^۱.۲.۷ (nodemodules\jest-haste-map\nodemodules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"win۳۲","arch":"x۶۴"})

npm ERR! Response timeout while trying to fetch http://registry.npmjs.org/graphql (over ۳۰۰۰۰ms)

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ASUS\AppData\Roaming\npm-cachelogs\۲۰۲۰-۰۴-۱۰T۲۰۰۰۴۱۴۳۹Z-debug.log
Error: Command failed: npm install --save --save-exact react-native
at checkExecSyncError (childprocess.js:۶۳۰:۱۱)
at execSync (childprocess.js:۶۶۶:۱۵)
at run (C:\Users\ASUS\AppData\Roaming\npm\nodemodules\react-native-cli\index.js:۲۹۴:۵)
at createProject (C:\Users\ASUS\AppData\Roaming\npm\nodemodules\react-native-cli\index.js:۲۴۹:۳)
at init (C:\Users\ASUS\AppData\Roaming\npm\nodemodules\react-native-cli\index.js:۲۰۰:۵)
at Object.<anonymous> (C:\Users\ASUS\AppData\Roaming\npm\nodemodules\react-native-cli\index.js:۱۵۳:۷)
at Module.compile (internal/modules/cjs/loader.js:۱۱۵۶:۳۰)
at Object.Module.extensions..js (internal/modules/cjs/loader.js:۱۱۷۶:۱۰)
at Module.load (internal/modules/cjs/loader.js:۱۰۰۰:۳۲)
at Function.Module.load (internal/modules/cjs/loader.js:۸۹۹:۱۴) {
status: ۱,
signal: null,
output: [ null, null, null ],
pid: ۴۴۴۸,
stdout: null,
stderr: null
}
Command npm install --save --save-exact react-native failed.

ثبت پرسش جدید
حسام موسوی
تخصص : طراح و برنامه نویس
@hesammousavi 4 سال پیش مطرح شد
0

برای نصب react-native از create-react-native-app استفاده کنید


برای ارسال پاسخ لازم است وارد شده یا ثبت‌نام کنید

ورود یا ثبت‌نام