Skip to content
This repository has been archived by the owner on Dec 14, 2020. It is now read-only.

This happened, its a build fail. #261

Closed
DaRealMiniToon opened this issue Jun 12, 2020 · 5 comments
Closed

This happened, its a build fail. #261

DaRealMiniToon opened this issue Jun 12, 2020 · 5 comments

Comments

@DaRealMiniToon
Copy link

-----> 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
Copy link
Author

I was trying to deploy on Heroku.

@sarthaktexas
Copy link
Contributor

sarthaktexas commented Jun 12, 2020 via email

@DaRealMiniToon
Copy link
Author

{
"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
Copy link
Contributor

{
"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
Copy link
Contributor

sarthaktexas commented Jul 9, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants