Estou tendo problemas ao executar npm start, tentei resolver vendo tutoriais mais ainda estou com dificuldades.
Aparece este problema:
alurabank@1.0.0 start /home/grasiela/projetos/alurabank/alurabank
> node index.js
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module '/home/grasiela/projetos/alurabank/alurabank/index.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! alurabank@1.0.0 start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the alurabank@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /home/grasiela/.npm/_logs/2020-07-18T04_04_00_960Z-debug.log
Meu arquivo package.json está assim:
{
"name": "alurabank",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node index.js"
},
"keywords": [],
"author": "",
"license": "ISC"
}
Não sei como resolver???