I have a simple node.js web server, consisting of 1 js file plus a directory of static files to serve. It worked fine in cloudfoundry v1, but when I try to push it to cloudfoundry v2 with the following command:
cf push --name myname --command "node app.js"
It fails with:
/var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:44:in `build_pack': Unable to detect a supported application type (RuntimeError)
Thanks for any suggestion.