Navigation flow issue React Native IOS App

I am experiencing this issue right here: I want to create a simple navigation tool to move from a login (Home page) to a sign up page. This is the typescript code (.tsx):

import React, { useState } from "react";
import { View, Text, TextInput, StyleSheet, Alert, Pressable, Image, Keyboard, TouchableWithoutFeedback } from "react-native";
import CheckBox from "expo-checkbox";
import { useNavigation } from "@react-navigation/native";
import { NativeStackNavigationProp } from "@react-navigation/native-stack";

const LoginForm = () => {
  const navigation = useNavigation<NativeStackNavigationProp<any>>();
  const [username, setUsername] = useState("");
  const [password, setPassword] = useState("");
  const [isChecked, setChecked] = useState(false);

  const handleLogin = () => {
    if (username === "user" && password === "password") {
      Alert.alert("Login Successful");
      // navigation.navigate('Home');
    } else {
      Alert.alert("Login Failed", "Invalid username or password");
    }
  };

  return (
    <TouchableWithoutFeedback onPress={Keyboard.dismiss}>
      <View style={styles.container}>
        <Text style={styles.pageHeader}>EcoRoute</Text>
        <Text style={styles.labelLogin}>Accedi con il tuo account EcoRoute: </Text>
        <View style={styles.buttonRow}>
          <Pressable onPress={handleLogin} style={styles.socialButton}>
            <View style={styles.content}>
              <Image
                source={require("../img/Google logo.webp")}
                style={styles.logo}
              />
              <Text style={styles.normalText}>Google</Text>
            </View>
          </Pressable>
          <Pressable onPress={handleLogin} style={styles.socialButton}>
            <View style={styles.content}>
              <Image
                source={require("../img/facebook logo.png")}
                style={styles.logoFacebook}
              />
              <Text style={styles.normalText}>Facebook</Text>
            </View>
          </Pressable>
        </View>
        <View style={styles.separatorContainer}>
          <View style={styles.separator} />
          <Text style={styles.separatorText}>oppure</Text>
          <View style={styles.separator} />
        </View>
        <Text style={styles.label}>Email</Text>
        <TextInput style={styles.input} value={username} onChangeText={setUsername} placeholder="Inserisci la tua email" autoCapitalize="none" />
        <Text style={styles.label}>Password</Text>
        <TextInput style={styles.input} value={password} onChangeText={setPassword} placeholder="Inserisci la tua password" secureTextEntry />
        <View style={styles.rememberContainer}>
          <CheckBox style={styles.checkbox} value={isChecked} onValueChange={setChecked} disabled={false} />
          <Text style={styles.remember}>Ricordami</Text>
          <Text style={styles.forgot}>Dimenticato la password?</Text>
        </View>

        <View style={styles.signup}>
          <Text style={styles.register}>Non sei ancora registrato? </Text>
          <Text style={{ color: "#325094" }} onPress={() => navigation.navigate("Registrati")}>
            Registrati qui.
          </Text>
        </View>
        <Text style={styles.registerLower}>Registrandoti ad EcoRoute accetti i relativi</Text>
        <Text style={{ color: "#325094", alignSelf: "center" }}>Termini e Condizioni</Text>
      </View>
    </TouchableWithoutFeedback>
  );
};

When I try to use this part of the code: <Text style={{ color: "#325094" }} onPress={() => navigation.navigate("Registrati")}> even if I declared a “Registrati” path in the App.js like so:

import * as React from "react";
import { NavigationContainer } from "@react-navigation/native";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import Signup from "./apps/(tabs)/signup";
import LoginForm from "./apps/(tabs)/index";

const Stack = createNativeStackNavigator();

function App() {
  return (
    <NavigationContainer>
      <Stack.Navigator initialRouteName="Home">
        <Stack.Screen name="Home" component={LoginForm} />
        <Stack.Screen name="Registrati" component={Signup} />
      </Stack.Navigator>
    </NavigationContainer>
  );
}

export default App;

I get this error in the node console:

The action 'NAVIGATE' with payload {"name":"Registrati"} was not handled by any navigator.

Do you have a route named 'Registrati'?

This is a development-only warning and won't be shown in production.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật