igrigorik / heroku-buildpack-dart

Heroku buildpack for Dart
170 stars 114 forks source link

Deploy flutter web #46

Closed massimoliani closed 5 years ago

massimoliani commented 5 years ago

FIXED - I forgot to add the bin/main.dart file as bootstrap for web app!

SORRY.

Hi,

I'm trying to deploy the classic hello world coming from flutter for web on heroku. I'm able to build package but when starting the app with "./sdk-tools/bin/dart web/main.dart" the app start and send several errors. The same happen when running locally on windows 10 the command "dart web/main.dart" give the same error. I was trying to use webdev (that work locally) but the installation from pub locate it in a cache folder not permitted by heroku. Any suggestions?