Q:

How do I deploy an Angular 2 app on Bluemix?

I have tried to deploy a few basic Angular 2 projects on Bluemix and got only errors after the build.
Did anybody manage to have Angular 2 working on Bluemix? In that case, did you set anything specific in package.json file?
I couldn't get over this error message:
npm ERR! code ELIFECYCLE
npm ERR! argv "/home/vcap/app/vendor/node/bin/node" "/home/vcap/app/vendor/node/bin/npm" "run" "tsc:w"

A:

It would be great to post a sample or a link to your source code. But from the two log lines it sounds like you are trying to deploy the Angular 2 app including the Node.js tooling it comes with.
As pointed by the previous comment, you'd rather build your Angular 2 app and deploy the resulting files, keeping the Node.js tooling for your local development.
I've put together a sample doing just that https://github.com/l2fprod/bluemix-hello-angular2. Consider it an even simpler version of the above example.
It is a new project generated with the angular-cli, then I did the minimum required changes to deploy the build to Bluemix.

