expo android 빌드 시, yarn.lock 관련 에러

나의 재물운? 연애운은?

AI가 봐주는 내 사주팔자 - 운세박사

https://aifortunedoctor.com/

expo android 빌드 시, yarn.lock 관련 에러

영리치 0 2,570 2022.01.14 11:08

colors@^1.1.2:
version "1.4.1"
resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.1.tgz#57e798423c5fa9182f7531e4c587bfce9483175d"
integrity sha512-urbBmMVnD1vk0mUwCpnWv06P3f16EF+RMTtIXTkylJk5mAdfrMepu9B3hhSnL8DGkc1Ra6pENJHrXTKvcAZ0wA==


Running yarn in the root dir of your repository
yarn install v1.22.10
[1/4] Resolving packages...
[2/4] Fetching packages...
[stderr] error An unexpected error occurred: "https://registry.yarnpkg.com/colors/-/colors-1.4.1.tgz: Request failed \"404 Not Found\"".
info If you think this is a bug, please open a bug report with the information provided in "/root/workingdir/build/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
yarn exited with non-zero code: 1


yarn.lock 삭제 후 다시 yarn 실행하니 되었음.



그 밖에 내용
eslint 는 js 문법을 위한 깔끔하게 짜기 위해서 사용하는 것임. (airbnb 에서 만든 것임) 



git clone 후 expo start 후 에러가 뜰 때

yarn.lock이 갑자기 생성되어서 깃 레포지토리와 부조화를 이룰 때,

yarn.lock 삭제 후 yarn 다시 실행하여 패키지 설치하면 잘 됨

Comments

나의 재물운? 연애운은?

AI가 봐주는 내 사주팔자 - 운세박사

https://aifortunedoctor.com/

Category
Magazine
훈남/훈녀
 
 
 
상점
Facebook Twitter GooglePlus KakaoStory NaverBand