
초반에는 잘 되다가 이제는 수정해도 하단에 오류도 안뜨고 백지 화면만 뜹니다

코드는 그냥 가져다 붙였고
웹으로 열어도 흰 화면만 뜹니다
작성한 코드 및 에러 메세지
웹으로 열때 vs코드 앱에서 뜨는 오류 창입니다
ERROR in ../../../../node_modules/@react-navigation/stack/lib/module/views/Stack/StackView.js:5
Module not found: Can't resolve '@react-navigation/native'
3 | SafeAreaProviderCompat,
4 | } from '@react-navigation/elements';
> 5 | import {
6 | ParamListBase,
7 | Route,
8 | StackActions,
ERROR in ../../../../node_modules/@react-navigation/stack/lib/module/views/Stack/StackView.js:11
Module not found: Can't resolve 'react'
9 | StackNavigationState,
10 | } from '@react-navigation/native';
> 11 | import * as React from 'react';
12 | import { StyleSheet, View } from 'react-native';
13 | import {
14 | EdgeInsets,
ERROR in ../../../../node_modules/@react-navigation/stack/lib/module/views/Stack/StackView.js:11:30
Module not found: Can't resolve 'react-native-web/dist/exports/StyleSheet'
9 | StackNavigationState,
10 | } from '@react-navigation/native';
> 11 | import * as React from 'react';
| ^
12 | import { StyleSheet, View } from 'react-native';
13 | import {
14 | EdgeInsets,
ERROR in ../../../../node_modules/@react-navigation/stack/lib/module/views/Stack/StackView.js:11:30
Module not found: Can't resolve 'react-native-web/dist/exports/View'
9 | StackNavigationState,
10 | } from '@react-navigation/native';
> 11 | import * as React from 'react';
| ^
12 | import { StyleSheet, View } from 'react-native';
13 | import {
14 | EdgeInsets,
ERROR in ../../../../node_modules/@react-navigation/stack/lib/module/views/Stack/StackView.js:13
Module not found: Can't resolve 'react-native-safe-area-context'
11 | import * as React from 'react';
12 | import { StyleSheet, View } from 'react-native';
> 13 | import {
14 | EdgeInsets,
15 | SafeAreaInsetsContext,
16 | } from 'react-native-safe-area-context';
web compiled with 160 errors and 1 warning
