Cat npm-debug.log on exit #34

Merged
merged 1 commit into from Mar 24, 2013

Projects

None yet

2 participants

@ryanbrainard
Contributor

This was a quick change I made in response to a user trying to get to the NPM debug output. It might need some work to improve how its stylized, but seems like it would be generally helpful to have in the default buildpack. Here's the related Stackoverflow question that prompted this:

http://stackoverflow.com/questions/15560037/heroku-troubleshooting-npm-errors-during-deploy-reading-a-tmp-file

Contributor
zeke commented Mar 24, 2013
brainard cat-npm-debug-log $ heroku build -b ddollar/test
Checking for app files to sync... done, 0 files needed
Launching build process... done 
Preparing app for compilation... done 
Fetching buildpack... done 
Detecting buildpack... done, Test 
Fetching cache... done 
Compiling app... 
  Running bin/test
    testDetectWithPackageJson
    testDetectWithoutPackageJson
    testPackageJsonWithVersion
    testPackageJsonWithoutVersion
    testPackageJsonWithInvalidVersion
    testNothingCached
    testProfileCreated

    Ran 7 tests.

    OK
Writing .profile.d/buildpack.sh... done 
Putting cache... done 
Creating slug... done 
Uploading slug... done 
Success, slug is https://api.anvilworks.org/slugs/fc5a9fc7-4e29-41fa-9016-dd443b5f628f.tgz 
@zeke zeke merged commit 06f629c into heroku:master Mar 24, 2013
@searls searls referenced this pull request in linemanjs/heroku-buildpack-lineman Nov 14, 2013
Merged

Cache node_modules #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment