Ao tentar rodar o comando "npm start", recebo erros. Estou colando a sequencia de comandos abaixo.
~/Doc/i/vollmed-api-swiftui-authentication ❯ npm install
npm warn deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
added 694 packages, and audited 695 packages in 6s
125 packages are looking for funding
run `npm fund` for details
14 vulnerabilities (3 low, 2 moderate, 7 high, 2 critical)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
npm notice
npm notice New major version of npm available! 10.9.2 -> 11.1.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.1.0
npm notice To update run: npm install -g npm@11.1.0
npm notice
~/Doc/i/vollmed-api-swiftui-authentication ❯ npm install -g npm@11.1.0 took 6s
removed 11 packages, and changed 43 packages in 3s
24 packages are looking for funding
run `npm fund` for details
~/Doc/i/vollmed-api-swiftui-authentication ❯ npm start
> API-Voll_Med@1.0.0 start
> ts-node --esm ./src/server.ts
(node:19106) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /Users/adrianovalumin/Documents/iOS Developer/vollmed-api-swiftui-authentication/src/server.ts
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:219:9)
at defaultGetFormat (node:internal/modules/esm/get_format:245:36)
at defaultLoad (node:internal/modules/esm/load:120:22)
at async nextLoad (node:internal/modules/esm/hooks:748:22)
at async nextLoad (node:internal/modules/esm/hooks:748:22)
at async Hooks.load (node:internal/modules/esm/hooks:385:20)
at async MessagePort.handleMessage (node:internal/modules/esm/worker:199:18) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
~/Documents/iOS Developer/vollmed-api-swiftui-authentication ❯ node -v
v22.14.0
~/Documents/iOS Developer/vollmed-api-swiftui-authentication ❯ npm -v
11.1.0
~/Documents/iOS Developer/vollmed-api-swiftui-authentication ❯ nvm -v
0.40.1