[TIL] 06010 react native

IT/TIL(Today I Learnt)|2022. 6. 11. 11:39

Today I Learnt 

0608

0609

0610:

 

과제하느라 바빠서TIL도못썻네.

상현이형 , 에리카 , 희성이가 많이 도와줬다.
마지막에 s3에올렷는데 cors로 뉴스api안되서 그거 처리하고,...

jset 로 unit test하는게 생각보다 복잡해서제대로는안함...

 

계속보니깐 고칠꼐계속나오니깐 인제 그만하고 다른숙제 해야겟다.

 

readme도 좀 이쁘게 꾸미고 user manual로 영상찍엇는데... 잘봐줫으면 좋겟다. 

https://github.com/skylermbang/Crpyto_Challenge

 

GitHub - skylermbang/Crpyto_Challenge: Cryptocurrency using coing gecko API challenge

Cryptocurrency using coing gecko API challenge . Contribute to skylermbang/Crpyto_Challenge development by creating an account on GitHub.

github.com

 

 

 

 

 

<p> cannot appear as a descendant of <p>.

https://stackoverflow.com/questions/41928567/div-cannot-appear-as-a-descendant-of-p

 

<div> cannot appear as a descendant of <p>

I'm seeing this. It's not a mystery what it is complaining about: Warning: validateDOMnesting(...): <div> cannot appear as a descendant of <p>. See ... SomeComponent > p > ... >

stackoverflow.com

 

javascript :

 

비동기 처리

왜안돼지  promise써도 안되고  async await해도안대고 

일단은 임시방편으로 settimeout해놓고 ... 나중에 다시 와서해야겟다.

 

 

 

react native :

 

https://nomadcoders.co/react-native-for-beginners/lectures/3116

 

All Courses – 노마드 코더 Nomad Coders

초급부터 고급까지! 니꼬쌤과 함께 풀스택으로 성장하세요!

nomadcoders.co

 

 Error: Watchman error: std::__1::system_error: open: /Users/skylerbang/Downloads/QUT/QUT_Programming/QUT/666/assignment2/crypto: Operation not permitted. Make sure watchman is running for this project.

https://stackoverflow.com/questions/58318341/why-watchman-crawl-failed-error-in-react-native-immediately-after-updating-to

 

Why "Watchman crawl failed" error in react-native immediately after updating to macOS catalina?

Trying to run react-native run-ios or build RN project from xcode, as soon as metro bundler starts, this error appears in the terminal: Loading dependency graph...jest-haste-map: Watchman crawl fa...

stackoverflow.com

 

 

 

이거뭔데 왜 시작 부터 안돼냐...

일단은  permission문제인것같아서  
System preference -> full disck access -> +누르고 ->  Macintosh HD들어가서 -> command +shit +.눌러서
lick opt > brew > bin 이나  usr > local > Cellar > Watchman > 21***** > bin > watchman 등록해주면됌.

그랬더니 이번에는 이상한 에러뜸.

 error: "watchman::RootResolveError: failed to resolve root: unable to resolve root /Users/skylerbang/Desktop/expo/my-app: failed to parse json from /Users/skylerbang/Desktop/expo/my-app/.watchmanconfig: '[' or '{' expected near end of file",
    version: '2022.06.06.00'

이거는 프로젝트 루트디렉토리 가서 

.watchmanconfig 파일 만들고  {} 이거 추가해주면됌.

돌아가지롱 그럼 숙제 해볼까...

 

 

 

https://snack.expo.dev/

 

Snack - React Native in the browser

Write code in Expo's online editor and instantly use it on your phone.

snack.expo.dev

 

 

반응형

'IT > TIL(Today I Learnt)' 카테고리의 다른 글

[TIL] 0613  (0) 2022.06.14
[TIL] 06111  (0) 2022.06.13
[TIL] 0606  (0) 2022.06.07
[TIL] 0603 C#과제 제출  (3) 2022.06.03
[TIL] 0602 척척석사  (1) 2022.06.02

댓글()