-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need Help: Estherbot Deploy issues in Heroku #33
Comments
## I have also got similar issue. Please let us know how to fix it? `-----> Node.js app detected
-----> Installing binaries
-----> Restoring cache
-----> Build failed
! Push rejected, failed to compile Node.js app. |
Having similar problem here: `-----> Node.js app detected
-----> Installing binaries
-----> Restoring cache
-----> Build failed
! Push rejected, failed to compile Node.js app. |
The problem seems to be with a dependency in package.json. It points to https://github.com/skhavari/smooch-bot.git, and that repository does not exists anymore. Using the official This would mean to replace by DISCLAIMER: I've not tested it myself! |
The solution above is right: fixing package.json to point to a repo that exists worked for me |
@esthercrawford Still having this issue |
@esthercrawford still having this issue -----> Node.js app detected
-----> Installing binaries
-----> Restoring cache
-----> Build failed
! Push rejected, failed to compile Node.js app. |
@jsrothwell @tooaverage |
kindly show me how i can update my repo after making the changes. I have made the changes and when i click on the build on heroku button, it still brings the error with the logs indicating a change hasnt been made. |
I'm a newbie. Following directions provided by Estherbot to create my own bot. I can't seem to figure out what errors are crashing the build. Can anyone help?
-----> Node.js app detected
-----> Creating runtime environment
NPM_CONFIG_LOGLEVEL=error
NPM_CONFIG_PRODUCTION=true
NODE_ENV=production
NODE_MODULES_CACHE=true
-----> Installing binaries
engines.node (package.json): unspecified
engines.npm (package.json): unspecified (use default)
Resolving node version (latest stable) via semver.io...
Downloading and installing node 5.11.1...
Using default npm version: 3.8.6
-----> Restoring cache
Skipping cache restore (new runtime signature)
-----> Building dependencies
Installing node modules (package.json)
npm ERR! git clone --template=/app/.npm/_git-remotes/_templates --mirror https://github.com/skhavari/smooch-bot.git /app/.npm/_git-remotes/git-https-github-com-skhavari-smooch-bot-git-5b388294: Cloning into bare repository '/app/.npm/_git-remotes/git-https-github-com-skhavari-smooch-bot-git-5b388294'...
npm ERR! git clone --template=/app/.npm/_git-remotes/_templates --mirror https://github.com/skhavari/smooch-bot.git /app/.npm/_git-remotes/git-https-github-com-skhavari-smooch-bot-git-5b388294: remote: Invalid username or password.
npm ERR! git clone --template=/app/.npm/_git-remotes/_templates --mirror https://github.com/skhavari/smooch-bot.git /app/.npm/_git-remotes/git-https-github-com-skhavari-smooch-bot-git-5b388294: fatal: Authentication failed for 'https://github.com/skhavari/smooch-bot.git/'
npm ERR! Linux 3.13.0-95-generic
npm ERR! argv "/tmp/build_cb141affb38eeddccc6d35fb56168a4f/esthercrawford-EstherBot-0772fde/.heroku/node/bin/node" "/tmp/build_cb141affb38eeddccc6d35fb56168a4f/esthercrawford-EstherBot-0772fde/.heroku/node/bin/npm" "install" "--unsafe-perm" "--userconfig" "/tmp/build_cb141affb38eeddccc6d35fb56168a4f/esthercrawford-EstherBot-0772fde/.npmrc"
npm ERR! node v5.11.1
npm ERR! npm v3.8.6
npm ERR! code 128
npm ERR! Command failed: git clone --template=/app/.npm/_git-remotes/_templates --mirror https://github.com/skhavari/smooch-bot.git /app/.npm/_git-remotes/git-https-github-com-skhavari-smooch-bot-git-5b388294
npm ERR! Cloning into bare repository '/app/.npm/_git-remotes/git-https-github-com-skhavari-smooch-bot-git-5b388294'...
npm ERR! remote: Invalid username or password.
npm ERR! fatal: Authentication failed for 'https://github.com/skhavari/smooch-bot.git/'
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR! /tmp/build_cb141affb38eeddccc6d35fb56168a4f/esthercrawford-EstherBot-0772fde/npm-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
The text was updated successfully, but these errors were encountered: