Add process logging to npm build to debug tbpl failures