Creación de API REST con Node.js | 1.2 - Creación de un Servidor con Node JS
Daniel Huaman@danielhanshuamancabrera
cuando ejecuto tu comando sale esto ??
PS D:\CURSO NODE JS - APIREST\EDTEAM> node src/server.js D:\CURSO NODE JS - APIREST\EDTEAM\src\server.js:10 })) ^
SyntaxError: Unexpected token ')'
at Object.compileFunction (node:vm:352:18)
at wrapSafe (node:internal/modules/cjs/loader:1033:15)
at Module._compile (node:internal/modules/cjs/loader:1069:27)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47
PS D:\CURSO NODE JS - APIREST\EDTEAM>