node.js - Add NodeJS to a Clojure app in Heroku -


i need node program (nodejs) present in dynos in heroku when deploy clojure app. app not nodejs app, cannot have package.json example , don't want heroku validate whether it's valid nodejs app or not (it's not, it's clojure app).

what's way achieve this?

i tried setting explicit buildpacks:

$ heroku buildpacks === projectx buildpack urls 1. https://github.com/heroku/heroku-buildpack-nodejs 2. https://github.com/heroku/heroku-buildpack-clojure 

but still when deploying error message:

remote: compressing source files... done. remote: building source: remote: remote: -----> multipack app detected remote: -----> fetching custom git buildpack... done remote: remote:  !     push rejected, failed detect 

on logs can see this:

2015-09-21t10:56:07.731335+00:00 heroku[slug-compiler]: slug compilation started 2015-09-21t10:56:07.731344+00:00 heroku[slug-compiler]: slug compilation failed: no cedar-supported app detected 2015-09-21t10:56:07.731346+00:00 heroku[slug-compiler]: hint: occurs when heroku cannot detect buildpack 2015-09-21t10:56:07.731347+00:00 heroku[slug-compiler]:       use application automatically. 2015-09-21t10:56:07.731348+00:00 heroku[slug-compiler]: see https://devcenter.heroku.com/articles/buildpacks 2015-09-21t10:58:07.541720+00:00 heroku[slug-compiler]: slug compilation started 2015-09-21t10:58:07.541729+00:00 heroku[slug-compiler]: slug compilation failed: failed detect 2015-09-21t11:00:28.651321+00:00 heroku[slug-compiler]: slug compilation started 2015-09-21t11:00:28.651329+00:00 heroku[slug-compiler]: slug compilation failed: failed detect 

try adding package.json file project these contents:

{} 

the node.js buildpack must detect minimal config in order run.

make sure package.json file committed git well.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -