quando tento usar o comando npm run server aparece essa mensagem e nao da pra continhar.
PS C:\Users\Maycon\Documents\GitHub\Estudos\Alura\TypeScript\01TypeScript> npm run server
> alurabank@1.0.0 server
> lite-server --baseDir=dist
node:internal/modules/cjs/loader:1078
throw err;
^
Error: Cannot find module 'browser-sync'
Require stack:
- C:\Users\Maycon\Documents\GitHub\Estudos\Alura\TypeScript\01TypeScript\node_modules\lite-server\lib\lite-server.js
- C:\Users\Maycon\Documents\GitHub\Estudos\Alura\TypeScript\01TypeScript\node_modules\lite-server\bin\lite-server
at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
at Module._load (node:internal/modules/cjs/loader:920:27)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object.<anonymous> (C:\Users\Maycon\Documents\GitHub\Estudos\Alura\TypeScript\01TypeScript\node_modules\lite-server\lib\lite-server.js:9:21)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at Module.require (node:internal/modules/cjs/loader:1141:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\\Users\\Maycon\\Documents\\GitHub\\Estudos\\Alura\\TypeScript\\01TypeScript\\node_modules\\lite-server\\lib\\lite-server.js',
'C:\\Users\\Maycon\\Documents\\GitHub\\Estudos\\Alura\\TypeScript\\01TypeScript\\node_modules\\lite-server\\bin\\lite-server'
]
}
Node.js v18.16.0
o que esta errado e o que eu tenho que fazer para normalizar esse problema, algum curso para aprender definitivamente o que esta de errado com npm ou o que pode acontecer quando instala ???