
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
[코드스니펫] DetailPage.js에서 넘겨받은 idx 팁 상세 데이터 조회
여기서 오류가 발생합니다
// Import the functions you need from the SDKs you need
import { initializeApp } from "firebase/app";
import { getAnalytics } from "firebase/analytics";
// TODO: Add SDKs for Firebase products that you want to use
// https://firebase.google.com/docs/web/setup#available-libraries
// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
const firebaseConfig = {
apiKey: "AIzaSyAuTAsYmd4pS35YwqIxMZdZK1TTa2gOLGI",
authDomain: "myggultip-5f38f.firebaseapp.com",
databaseURL: "https://myggultip-5f38f-default-rtdb.firebaseio.com",
projectId: "myggultip-5f38f",
storageBucket: "myggultip-5f38f.appspot.com",
messagingSenderId: "102152569045",
appId: "1:102152569045:web:c58e7b8000c81a5e73e25c",
measurementId: "G-BTRS9M7ZSW"
};
// Initialize Firebase
const app = initializeApp(firebaseConfig);
const analytics = getAnalytics(app);

작성한 코드 및 에러 메세지
ERROR in ./pages/DetailPage.js:4
Module not found: Can't resolve '../firebaseConfig'
2 | import { StyleSheet, Text, View, Image, ScrollView,TouchableOpacity,Alert,Share } from 'react-native';
3 | import * as Linking from 'expo-linking';
> 4 | import {firebase_db} from "../firebaseConfig"
5 |
6 | export default function DetailPage({navigation,route}) {
7 |
web compiled with 1 error
