Closed DaRealMiniToon closed 4 years ago
I was trying to deploy on Heroku.
Post your package.json, there is an error in it.
On Fri, Jun 12, 2020 at 9:24 AM DaRealMiniToon notifications@github.com wrote:
I was trying to deploy on Heroku.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/renesansz/discord-greeter-bot/issues/261#issuecomment-643297381, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGXYZ4ERV6MS3FM4PKCZSC3RWI3AZANCNFSM4N4L7BZA .
-- Thanks, Sarthak Mohanty
Per Aspera Ad Astra
{ "name": "models", "version": "1.0.0", "description": "A discord bot!", "main": "bot.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "bot" ], "author": "ZombieTech782#9745", "license": "ISC", "dependencies": { "bot-dashboard": "^1.0.5", "discord-akairo": "^8.0.0" } }
{ "name": "models", "version": "1.0.0", "description": "A discord bot!", "main": "bot.js", "scripts": { "test": "echo "Error: no test specified" && exit 1" }, "keywords": [ "bot" ], "author": "ZombieTech782#9745", "license": "ISC", "dependencies": { "bot-dashboard": "^1.0.5", "discord-akairo": "^8.0.0" }, "engines": { "node": "10.x" } }
wondering if this has been fixed so @renesansz or you can close this
-----> Node.js app detected
-----> Creating runtime environment
-----> Installing binaries engines.node (package.json): unspecified engines.npm (package.json): unspecified (use default)
-----> Installing dependencies Installing node modules (package.json + package-lock) npm ERR! code EJSONPARSE npm ERR! file /tmp/build_704e7016d1d1b59b4ff5058eb11e2622/package.json npm ERR! JSON.parse Failed to parse json npm ERR! JSON.parse Unexpected end of JSON input while parsing near '' npm ERR! JSON.parse Failed to parse package.json data. npm ERR! JSON.parse package.json must be actual JSON, not just JavaScript.
-----> Build failed
! Push rejected, failed to compile Node.js app. ! Push failed