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'
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'