Após dar o comando npm start aparece o seguinte erro:
D:\EMILIA\CURSO_LABORA\EXERCICIOS_JS\alura-typer-inicial\alura-typer\servidor>npm start
AluraTyper@1.0.0 start D:\EMILIA\CURSO_LABORA\EXERCICIOS_JS\alura-typer-inicial\alura-typer\servidor node server
consign v0.1.2 Initialized in app
- .\api\frases.js
- .\api\placar.js
- .\routes\frases.js
- .\routes\placar.js internal/modules/cjs/loader.js:1083 throw err; ^
Error: Cannot find module 'underscore' Require stack:
- D:\EMILIA\CURSO_LABORA\EXERCICIOS_JS\alura-typer-inicial\alura-typer\servidor\node_modules\nedb\lib\model.js
- D:\EMILIA\CURSO_LABORA\EXERCICIOS_JS\alura-typer-inicial\alura-typer\servidor\node_modules\nedb\lib\datastore.js
- D:\EMILIA\CURSO_LABORA\EXERCICIOS_JS\alura-typer-inicial\alura-typer\servidor\node_modules\nedb\index.js
- D:\EMILIA\CURSO_LABORA\EXERCICIOS_JS\alura-typer-inicial\alura-typer\servidor\config\database.js
- D:\EMILIA\CURSO_LABORA\EXERCICIOS_JS\alura-typer-inicial\alura-typer\servidor\app\api\placar.js
- D:\EMILIA\CURSO_LABORA\EXERCICIOS_JS\alura-typer-inicial\alura-typer\servidor\node_modules\consign\lib\consign.js
- D:\EMILIA\CURSO_LABORA\EXERCICIOS_JS\alura-typer-inicial\alura-typer\servidor\node_modules\consign\index.js
- D:\EMILIA\CURSO_LABORA\EXERCICIOS_JS\alura-typer-inicial\alura-typer\servidor\config\express.js
- D:\EMILIA\CURSO_LABORA\EXERCICIOS_JS\alura-typer-inicial\alura-typer\servidor\server.js
at Function.Module.resolveFilename (internal/modules/cjs/loader.js:1080:15)
at Function.Module.load (internal/modules/cjs/loader.js:923:27)
at Module.require (internal/modules/cjs/loader.js:1140:19)
at require (internal/modules/cjs/helpers.js:75:18)
at Object. (D:\EMILIA\CURSO_LABORA\EXERCICIOS_JS\alura-typer-inicial\alura-typer\servidor\node_modules\nedb\lib\model.js:9:9)
at Module.compile (internal/modules/cjs/loader.js:1251:30)
at Object.Module.extensions..js (internal/modules/cjs/loader.js:1272:10)
at Module.load (internal/modules/cjs/loader.js:1100:32)
at Function.Module.load (internal/modules/cjs/loader.js:962:14)
at Module.require (internal/modules/cjs/loader.js:1140:19) {
code: 'MODULENOT_FOUND',
requireStack: [
'D:\EMILIA\CURSO_LABORA\EXERCICIOS_JS\alura-typer-inicial\alura-typer\servidor\node_modules\nedb\lib\model.js',
'D:\EMILIA\CURSO_LABORA\EXERCICIOS_JS\alura-typer-inicial\alura-typer\servidor\node_modules\nedb\lib\datastore.js',
'D:\EMILIA\CURSO_LABORA\EXERCICIOS_JS\alura-typer-inicial\alura-typer\servidor\node_modules\nedb\index.js',
'D:\EMILIA\CURSO_LABORA\EXERCICIOS_JS\alura-typer-inicial\alura-typer\servidor\config\database.js',
'D:\EMILIA\CURSO_LABORA\EXERCICIOS_JS\alura-typer-inicial\alura-typer\servidor\app\api\placar.js',
'D:\EMILIA\CURSO_LABORA\EXERCICIOS_JS\alura-typer-inicial\alura-typer\servidor\node_modules\consign\lib\consign.js',
'D:\EMILIA\CURSO_LABORA\EXERCICIOS_JS\alura-typer-inicial\alura-typer\servidor\node_modules\consign\index.js',
'D:\EMILIA\CURSO_LABORA\EXERCICIOS_JS\alura-typer-inicial\alura-typer\servidor\config\express.js',
'D:\EMILIA\CURSO_LABORA\EXERCICIOS_JS\alura-typer-inicial\alura-typer\servidor\server.js'
]
}
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! C:\Users\emilia\AppData\Roaming\npm-cache_logs\2020-08-13T12_38_39_944Z-debug.log
D:\EMILIA\CURSO_LABORA\EXERCICIOS_JS\alura-typer-inicial\alura-typer\servidor>