Skip to content

Activating unpubd fails #4

@kmcgill88

Description

@kmcgill88

Running dart pub global activate unpubd fails to build with the following error.

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions