Push rejected, no Cedar-supported app detected
I know this question has been asked several times. But I couldnot stop
myself to post this here. I am nooby. I am trying to push the app from git
to heroku using the following command
ubuntu@ip-1x2-xx-xx-xxx:~/vexxx$ git push heroku master
I am getting the following error.
Counting objects: 8, done.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (8/8), 1015 bytes, done.
Total 8 (delta 0), reused 0 (delta 0)
! Push rejected, no Cedar-supported app detected
To git@heroku.com:fast-fortress-3889.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:fast-fortress-3889.git'
I am trying to use node.js framework
UPDATE
I have two files in my app folder name vxxxx/
1.README.md
2.venkat1.js
Inside venkat1.js
#!/usr/bin/env node
var fs = require('fs');
var outfile = "hello.txt";
var out = "A startup is a business built to grow rapidly.\n";
fs.writeFileSync(outfile, out);
console.log("Script: " + __filename + "\nWrote: " + out + "To: " + outfile);
I do not have any other files. Actually these two files are in my git
repo. I am trying to push it to heroku and run the app there using node.js
No comments:
Post a Comment