我的应用程序在本地运行良好,但是在使用Heroku进行部署后,出现应用程序错误。
{
"name": "merng",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"serve": "node index.js",
"start": "node index.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"apollo-server": "^2.5.0",
"bcryptjs": "^2.4.3",
"graphql": "^15.3.0",
"jsonwebtoken": "^8.5.1",
"mongoose": "^5.10.10"
},
"devDependencies": {
"nodemon": "^2.0.6"
}
}