What is causing this TypeError

Uncaught TypeError: Failed to resolve module specifier “events”. Relative references must start with either “/”, “./”, or “../”. index.html:1

what is causing this error?

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <script defer type="module"src="./index.js"></script>
</head>
<body>

    <form class="add">
        <Label for="Fornavn">Fornavn:</Label>
        <input type="Text" name="Fornavn" required>
        <Label for="Etternavn">Etternavn:</Label>
        <input type="Text" name="Etternavn" required>
        <Label for="Forkort">Partiforkortelse:</Label>
        <input type="Text" name="Forkort" required>

        <button>Legg til politiker</button>

    </form>
    
</body>
</html>

First time writing on here so im sorry if its not clear enough, if you need more information ill do my best to give you it.