[ad_1]
I tried to deploy the application to heroku but when i push the code i am getting an error, but its working fine in the local environment.
Seems like the error is in the heroku-postbuild of package.json file
“scripts”: {
“start”: “node server.js”,
“server”: “nodemon server.js”,
“client”: “npm start –prefix frontend”,
“clientinstall”: “npm install –prefix frontend”,
“heroku-postbuild”: “NPM_CONFIG_PRODUCTION=false npm install –prefix frontend && npm run build –prefix frontend”
},
https://github.com/mohdahtesham/mos_node_ticket/tree/master
[ad_2]