구부정한 머스타드의 블로그

  • 홈
  • 태그
  • 방명록

frontend/ReactNative 2

[0.67.5] React Native Error: Entry file index.js does not exist. If you use another file as your entry point, pass ENTRY FILE=index.js' error: Entry file index.js does not exist.

사용 버전 - react native 0.67.5 - xcode 14.3 - ios 16.4.1 문제 해결 xcode에서 이부분을 요렇게 바꿔주면 된다. set -e export NODE_BINARY=node ../node_modules/react-native/scripts/react-native-xcode.sh index.tsx 참고한 깃허브 https://github.com/facebook/react-native/issues/31421#issuecomment-958952811

frontend/ReactNative 2023.05.09

react-native env 설정하기 || error: Error: Unable to resolve module @env

$ npm install -D react-native-dotenv babel.config.js module.exports = { presets: ['module:metro-react-native-babel-preset'], plugins: [ ['module:react-native-dotenv', { moduleName: 'react-native-dotenv', path: '.env', }], ], }; 프로젝트 루트에 .env파일 만들어서 API_KEY=어쩌구 src를 쓰고 있다면 src/types/env.d.ts declare module 'react-native-dotenv' { export const API_KEY: string; } 사용방법 import {API_KEY} from 'react-n..

frontend/ReactNative 2023.04.28
이전
1
다음
더보기
프로필사진

구부정한 머스타드의 블로그

Frontend Dev.

  • 분류 전체보기 (16)
    • frontend (11)
      • React (3)
      • Javascript (0)
      • TypeScript (0)
      • css (1)
      • StoryBook (1)
      • blockchain (3)
      • ReactNative (2)
    • backend (0)
    • server (1)
      • node.js (1)
    • cs (0)
    • algorithmn (0)
    • git (1)
    • study (1)
    • OS (2)
      • Mac (2)

Tag

scss,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/09   »
일 월 화 수 목 금 토
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바