Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Erro apos npm start

internal/modules/cjs/loader.js:497 throw new ERR_PACKAGE_PATH_NOT_EXPORTED(basePath, mappingKey); ^

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './v4' is not defined by "exports" in D:\ALURA\NODE.JS PARTE 1 INOVANDO COM JAVASCRIPT NO BACKEND\Casa do codigo\node_modules\uuid\package.json at applyExports (internal/modules/cjs/loader.js:497:9) at resolveExports (internal/modules/cjs/loader.js:513:23) at Function.Module.findPath (internal/modules/cjs/loader.js:641:31) at Function.Module.resolveFilename (internal/modules/cjs/loader.js:1016:27) at Function.Module.load (internal/modules/cjs/loader.js:898:27) at Module.require (internal/modules/cjs/loader.js:1089:19) at require (internal/modules/cjs/helpers.js:73:18) at Object. (D:\ALURA\NODE.JS PARTE 1 INOVANDO COM JAVASCRIPT NO BACKEND\Casa do codigo\src\config\sessao-autenticacao.js:1:14) at Module.compile (internal/modules/cjs/loader.js:1200:30) at Object.Module.extensions..js (internal/modules/cjs/loader.js:1220:10) { code: 'ERRPACKAGE_PATH_NOT_EXPORTED' } [nodemon] app crashed - waiting for file changes before starting...

1 resposta
solução!

Oi, Francisco, tudo bem?

Deleta a pasta node_modules e o arquivo package-lock.json e roda o comando novamente npm install e tenta rodar novamente o comando npm start

Testa e me fala se deu certo!