بتول رنجبر
4 سال پیش توسط بتول رنجبر مطرح شد
4 پاسخ

ایجاد پروژه جدید reactjs

با سلام
من وقتی create-react-app انجام میدم نصب به happy hacking نمی رسه تا این مرحله جلو میره لطفا راهنمایی کنید چطور مشکلم را رفع کنم

  • C:\Users\hp>cd Desktop

C:\Users\hp\Desktop>cd mern-stack

C:\Users\hp\Desktop\mern-stack>create-react-app frontend
The directory frontend contains files that could conflict:

node_modules/
package.json
yarn.lock

Either try using a new directory name, or remove the files listed above.

C:\Users\hp\Desktop\mern-stack>create-react-app frontend1

Creating a new React app in C:\Users\hp\Desktop\mern-stack\frontend1.

warning ......\package.json: No license field
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...

yarn add v1.22.4
warning ......\package.json: No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.12: The platform "win32" is incompatible with this module.
info "fsevents@1.2.12" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@2.1.2: The platform "win32" is incompatible with this module.
info "fsevents@2.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "react-scripts > @typescript-eslint/eslint-plugin > tsutils@3.17.1" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 13 new dependencies.
info Direct dependencies
├─ cra-template@1.0.3
├─ react-dom@16.13.1
├─ react-scripts@3.4.1
└─ react@16.13.1
info All dependencies
├─ @babel/plugin-transform-flow-strip-types@7.9.0
├─ @babel/plugin-transform-runtime@7.9.0
├─ @babel/plugin-transform-typescript@7.9.4
├─ @babel/preset-typescript@7.9.0
├─ babel-preset-react-app@9.1.2
├─ cra-template@1.0.3
├─ eslint-config-react-app@5.2.1
├─ react-dev-utils@10.2.1
├─ react-dom@16.13.1
├─ react-error-overlay@6.0.7
├─ react-scripts@3.4.1
├─ react@16.13.1
└─ scheduler@0.19.1
Done in 129.81s.


ثبت پرسش جدید
سیدعلی موسوی
تخصص : سی شارپ و پی اچ پی
@juza66 4 سال پیش آپدیت شد
0

ایا تست گرفتین ببین اصلا پروژه اجرا میشه یا نه؟!!
آخر پیامی که گذاشتن نوشته done

Done in 129.81s

شاید در این نسخه اون happy hacking رو نده من تست نکردم


بتول رنجبر
@batranjbar 4 سال پیش مطرح شد
0

سلام
لخیر روز قبل ایجاد کردم happy hacking را داد ولی روز بعد نزدیک به 10 دفعه پرئژه ایجاد کردم ولی نتیحه ندادمن مثل شما فکر کردم شاید پروژه اجرا بشه ولی کار نکرد یخ مشکل دیگه هم هست من نت منزل قطع شده از نت موبایل استفاده میکنم ایا میتونه این موضوع موجب این اشکال بشه موقع ایجاد پروژه حتما باید به اینترنت وصل باشیم ؟؟
متشکرم


کامران داور
تخصص : Front-end developer
@kamran.davar 4 سال پیش مطرح شد
0

سلام. من هم وقتی اینترنتم ضعیفه یارن خوب برام کار نمیکنه. ولی npm همیشه خوب کار میکنه. با npm امتحان کنید


کامران داور
تخصص : Front-end developer
@kamran.davar 4 سال پیش مطرح شد
0

سلام. من هم وقتی اینترنتم ضعیفه یارن خوب برام کار نمیکنه. ولی npm همیشه خوب کار میکنه. با npm امتحان کنید


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

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