Building package executables... (17.1s)
Failed to build unpubd:unpubd:
../../.pub-cache/hosted/pub.dartlang.org/unpub-2.0.0/lib/src/app.dart:113:48: Error: The argument type 'String?' can't be assigned to the parameter type 'Object' because 'String?' is nullable and 'Object' isn't.
- 'Object' is from 'dart:core'.
var server = await shelf_io.serve(handler, host, port);
^
Failed to build unpubd:unpub:
../../.pub-cache/hosted/pub.dartlang.org/unpub-2.0.0/lib/src/app.dart:113:48: Error: The argument type 'String?' can't be assigned to the parameter type 'Object' because 'String?' is nullable and 'Object' isn't.
- 'Object' is from 'dart:core'.
var server = await shelf_io.serve(handler, host, port);
^
Failed to build unpubd:funpub:
../../.pub-cache/hosted/pub.dartlang.org/unpub-2.0.0/lib/src/app.dart:113:48: Error: The argument type 'String?' can't be assigned to the parameter type 'Object' because 'String?' is nullable and 'Object' isn't.
- 'Object' is from 'dart:core'.
var server = await shelf_io.serve(handler, host, port);
Running
dart pub global activate unpubdfails to build with the following error.