I had a similar issue. In my case, I used a privately hosted repository and was behind my companies proxy. My npm seemed to hang on build sill idealTree, but produced a 503 Service Unavailable after 250 seconds.
The no_proxy setting in the .npmrc was ignored. Adding the url of my repo to the environment variable NO_PROXY solved the issue.