Issue to load js file with jsDom

node version: 14.15.0
npm (or yarn) version: npm 6.14.8

Hello,
i currently working with jsdom but the browser not showing the content of the querySelector from a js file ,and i have this error on the console browser :

Uncaught TypeError: Failed to resolve module specifier “jsdom”. Relative references must start with either “/”, “./”, or “…/”.

package.json

{
  "name": "jsdom",
  "version": "1.0.0",
  "description": "",
  "main": "app.mjs",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC",
  "type": "module",
  "dependencies": {
    "ejs": "^3.1.5",
    "express": "^4.17.1",
    "jsdom": "^16.4.0"
  }
}

app.mjs

import express from 'express'
const app = express();

import { fileURLToPath } from 'url';
import { dirname } from 'path';

const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

import { myVarTest } from "./public/javascripts/querySelect.mjs";

app.use(express.static(__dirname + "/public"))

const port = 3000;
app.set("view engine", "ejs");

app.get("/", function (req, res) {

  res.render("index", { myVarTest});
});

app.listen(port, () => {
  console.log(`Example app listening at http://localhost:${port}`);
});

querySelect.jsm (external js file)

'use strict';

import {
  JSDOM
} from 'jsdom';

const uri = "./views/index.ejs";

const options = {
  runScripts: "dangerously",
  resources: "usable",
};

JSDOM.fromFile(uri, options)
  .then(function (dom) {
    let window = dom.window,
      document = window.document;

    document.querySelector("header").innerHTML =
      "This is some text from querySelector";

    console.log(dom.serialize());
  })

  .catch(function (e) {
    console.log(e);
  });

export const myVarTest = "text from myVarTest";

index.ejs

<!DOCTYPE html>
<html>
  <head>
    <title>Index</title>
  </head>
  <body>
    <header></header>
    <script type="module" src="/javascripts/querySelect.mjs"></script>
  </body>
</html>

screen : folders structure

thank you for your help