我创建了我的新项目客户端,我正在使用Angular6和Serverside,我现在使用Node.js,现在我想用MongoDB制作数据库连接node.js。以前我使用过Mysql数据库,后来我听说了MongoDB数据库,但我不知道如何将MongoDB数据库与Node.js连接起来,请帮助我如何将node.js与MongoDB连接起来(我必须安装这些软件包,app.js(node.js)
var createError = require('http-error
我正试图在我刚安装的薄荷VM上运行foreman。它是为了学习节点的目的。我正在使用Heroku和他们的指南来设置自己,但当我试图启动领班时,我遇到了一个路障。14:51:09 web.1 | started with pid 1073914:51:09 system | sending SIGTERM to all processes