anaisbetts / squirrel-flutter

Build installers for your Flutter applications with Squirrel
BSD 3-Clause "New" or "Revised" License
57 stars 13 forks source link

cannot run flutter pub run squirrel:installer_windows #2

Open aditdiqdpratama opened 2 years ago

aditdiqdpratama commented 2 years ago
Unhandled exception:
NoSuchMethodError: The method '[]' was called on null.
Receiver: null
Tried calling: []("windows")
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:63:5)
#1      new PubspecParams.fromYaml (file:///C:/Users/diqdq/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/squirrel-0.1.0/bin/installer_windows.dart:131:52)
#2      main (file:///C:/Users/diqdq/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/squirrel-0.1.0/bin/installer_windows.dart:212:33)
devalensio commented 2 years ago

yes i got the same issue, @aditdiqdpratama did you manage to solve this ? or is there any help ?

Vasco-90 commented 2 years ago

In your pubspec.yml you have to add

squirrel:
   windows: 
     ....