본문 바로가기
개발로그

CRNA first build faild log. ...scripts\autolinking.gradle' as it does not exist. 발생했다면.

by 그리너리디밸로퍼 2022. 7. 11.

CRNA guide page title

create react native app 의 장점과 expo 장점을 합친 툴이 있다고 해서 테스트겸 빌드를 해봤다. 

 

가이드에는 분명 실행할 게 이거밖에 없다 했는데....

$ npm i -g create-react-native-app
$ create-react-native-app my-project
$ cd my-project
$ npm start

 

나는 왜 첫 빌드부터 BUILD FAIL 인 거신가...ㅠㅠ

 

autolinking.gradle  does not exist

생각해보니, expo 관련 라이브러리는 설치해본 적이 없어서 'autolinking을 위한 expo 라이브러리가 나만 없나?' 라는 생각이 들었다. 

 

그래서 아래 모듈을 설치했고, 아름다운 빌드 성공 화면을 보았다. 

https://www.npmjs.com/package/expo-modules-autolinking

 

expo-modules-autolinking

Scripts that autolink Expo modules.. Latest version: 0.9.0, last published: 18 days ago. Start using expo-modules-autolinking in your project by running `npm i expo-modules-autolinking`. There are 8 other projects in the npm registry using expo-modules-aut

www.npmjs.com

 


If you faced same error as mine, please install expo-modules-autoliking . 

i hope you can build sucess .

728x90

댓글