Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSamet Erpik
1,187 PointsWhile trying to deploy getting Error
How can I solve this? [remote rejected] master -> master (pre-receive hook declined)
1 Answer
Michael Cook
Full Stack JavaScript Techdegree Graduate 28,975 PointsIt would be more useful to see your git repo. I can't tel you why Heroku can't identify the language when I can't see the code base.
Samet Erpik
1,187 PointsSamet Erpik
1,187 PointsThis is the full error I get:
remote: Building source: remote: remote: ! No default language could be detected for this app. remote: HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically. remote: See https://devcenter.heroku.com/articles/buildpacks remote: remote: ! Push failed remote: Verifying deploy... remote: remote: ! Push rejected to currency--checker. remote: To https://git.heroku.com/currency--checker.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://git.heroku.com/currency--checker.git'