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 trial

Development Tools Getting Our Project on Heroku

Samet Erpik
Samet Erpik
1,187 Points

While trying to deploy getting Error

How can I solve this? [remote rejected] master -> master (pre-receive hook declined)

Samet Erpik
Samet Erpik
1,187 Points

This 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'

1 Answer

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