igrigorik / heroku-buildpack-dart

Heroku buildpack for Dart
170 stars 114 forks source link

Cannot stat pub-cache file #7

Closed sethladd closed 11 years ago

sethladd commented 11 years ago

After I added a pubspec.yaml (which now seems required) I ran into this error:

sethladd:~/Code/dart-heroku-test (master)$ git push heroku master Counting objects: 9, done. Delta compression using up to 8 threads. Compressing objects: 100% (5/5), done. Writing objects: 100% (7/7), 670 bytes, done. Total 7 (delta 2), reused 0 (delta 0)

-----> Heroku receiving push -----> Fetching custom git buildpack... done -----> Dart app detected -----> Installing Dart VM, build: latest -----> Copy Dart binaries to app root -----> Install packages Resolving dependencies... Dependencies installed! cp: cannot stat `/app/tmp/repo.git/.cache/pub-cache': No such file or directory ! Heroku push rejected, failed to compile Dart app

To git@heroku.com:dart-test.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'git@heroku.com:dart-test.git'

sethladd commented 11 years ago

/cc @kohlikohl

sethladd commented 11 years ago

Fixed in https://github.com/igrigorik/heroku-buildpack-dart/commit/7eb6ca104942801ee575740aa1fc9e6b22fb7748

kohlikohl commented 11 years ago

@sethladd thx for the fix.