Depois de fazer o que é solicitado, aparecem os seguintes erros: . No navegador: [Error] Failed to load resource: URL inválido (page-load-errors-extras.css, line 0) . No terminal (apesar dos comentários já terem sido removidos):
AluraTyper@1.0.0 start /Users/luizjacob/One_alura-typer-servidor-cors/servidor node server /Users/luizjacob/One_alura-typer-servidor-cors/servidor/config/express.js:12 REMOVA OS COMENTARIOS PARA HABILITAR CORS ^^ SyntaxError: Unexpected identifier at wrapSafe (internal/modules/cjs/loader.js:979:16) at Module.compile (internal/modules/cjs/loader.js:1027:27) at Object.Module.extensions..js (internal/modules/cjs/loader.js:1092:10) at Module.load (internal/modules/cjs/loader.js:928:32) at Function.Module.load (internal/modules/cjs/loader.js:769:14) at Module.require (internal/modules/cjs/loader.js:952:19) at require (internal/modules/cjs/helpers.js:88:18) at Object. (/Users/luizjacob/Onealura-typer-servidor-cors/servidor/server.js:2:11) at Module.compile (internal/modules/cjs/loader.js:1063:30) at Object.Module.extensions..js (internal/modules/cjs/loader.js:1092:10) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! AluraTyper@1.0.0 start:
node server
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the AluraTyper@1.0.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! /Users/luizjacob/.npm/logs/2021-02-12T1159_21_615Z-debug.log