Error: Cannot find module 'express' - I have tried everything


Estou tentando rodar o projeto mas esta dando a seguinte falha:

Error: Cannot find module 'express'
Require stack:
- /app/server.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:610:15)
    at Function.Module._load (internal/modules/cjs/loader.js:526:27)
    at Module.require (internal/modules/cjs/loader.js:666:19)
    at require (internal/modules/cjs/helpers.js:16:16)
at Object.<anonymous> (/app/server.js:1:17)
    at Module._compile (internal/modules/cjs/loader.js:759:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10)
    at Module.load (internal/modules/cjs/loader.js:628:32)
    at Function.Module._load (internal/modules/cjs/loader.js:555:12)
    at Function.Module.runMain (internal/modules/cjs/loader.js:826:10)

Preciso de ajuda, por favooorr

Tente instalar o express. Abra o terminal e execute o comando:

npm i express

Saiba mais aqui: Installing Express

Try installing express, open the terminal and type:

npm i express

Know more: Installing Express

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.