renesansz / discord-greeter-bot

My greeter bot for Discord
MIT License
49 stars 38 forks source link

This happened, its a build fail. #261

Closed DaRealMiniToon closed 4 years ago

DaRealMiniToon commented 4 years ago

-----> Node.js app detected

-----> Creating runtime environment

   NPM_CONFIG_LOGLEVEL=error
   NODE_ENV=production
   NODE_MODULES_CACHE=true
   NODE_VERBOSE=false

-----> Installing binaries engines.node (package.json): unspecified engines.npm (package.json): unspecified (use default)

   Resolving node version 12.x...
   Downloading and installing node 12.18.0...
   Using default npm version: 6.14.4

-----> 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.

   npm ERR! A complete log of this run can be found in:
   npm ERR!     /tmp/npmcache.tasxB/_logs/2020-06-12T13_52_54_441Z-debug.log

-----> Build failed

   We're sorry this build is failing! You can troubleshoot common issues here:
   https://devcenter.heroku.com/articles/troubleshooting-node-deploys

   Some possible problems:

   - Node version not specified in package.json
     https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version

   Love,
   Heroku

! Push rejected, failed to compile Node.js app. ! Push failed

DaRealMiniToon commented 4 years ago

I was trying to deploy on Heroku.

sarthaktexas commented 4 years ago

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

DaRealMiniToon commented 4 years ago

{ "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" } }

sarthaktexas commented 4 years ago

{ "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" } }

sarthaktexas commented 4 years ago

wondering if this has been fixed so @renesansz or you can close this