schultek / jaspr

Modern web framework for building websites in Dart. Supports SPAs, SSR and SSG.
https://jasprpad.schultek.de
MIT License
1.19k stars 73 forks source link

Can't activate `jaspr_cli` #98

Closed HosamHasanRamadan closed 1 year ago

HosamHasanRamadan commented 1 year ago

Description I can't activate jaspr_cli after last update 0.6.1

Steps To Reproduce

  1. Activate jaspr through dart pub global activate jaspr_cli
  2. See error
    + ansi_styles 0.3.2+1s... (1.8s)
    + archive 3.3.7
    + args 2.4.2
    + async 2.11.0
    + browser_launcher 1.1.1
    + build_daemon 4.0.0
    + built_collection 5.1.1
    + built_value 8.6.1
    + checked_yaml 2.0.3
    + cli_completion 0.3.0
    + cli_util 0.4.0
    + collection 1.18.0
    + convert 3.1.1
    + crypto 3.0.3
    + dap 1.1.0
    + dds 2.9.2
    + dds_service_extensions 1.6.0
    + devtools_shared 2.26.1
    + dwds 19.0.2
    + equatable 2.0.5
    + file 6.1.4 (7.0.0 available)
    + fixnum 1.1.0
    + http 0.13.6 (1.1.0 available)
    + http_multi_server 3.2.1
    + http_parser 4.0.2
    + io 1.0.4
    + jaspr_cli 0.6.1
    + js 0.6.7
    + json_annotation 4.8.1
    + json_rpc_2 3.0.2
    + logging 1.2.0
    + mason 0.1.0-dev.50
    + mason_logger 0.2.8
    + meta 1.9.1
    + mime 1.0.4
    + mustache_template 2.0.0
    + package_config 2.1.0
    + path 1.8.3
    + pointycastle 3.7.3
    + pool 1.5.1
    + pub_semver 2.1.4
    + pubspec_parse 1.2.3
    + shelf 1.4.1
    + shelf_packages_handler 3.0.2
    + shelf_proxy 1.0.4
    + shelf_static 1.1.2
    + shelf_web_socket 1.0.4
    + source_maps 0.10.12
    + source_span 1.10.0
    + sse 4.1.2
    + stack_trace 1.11.1
    + stream_channel 2.1.2
    + stream_transform 2.1.0
    + string_scanner 1.2.0
    + term_glyph 1.2.1
    + typed_data 1.3.2
    + usage 4.1.1
    + uuid 3.0.7
    + vm_service 11.8.0
    + watcher 1.1.0
    + web_socket_channel 2.4.0
    + webdev 3.0.6
    + webkit_inspection_protocol 1.2.0
    + yaml 3.1.2
    + yaml_edit 2.1.1
    Building package executables... (1.8s)
    Failed to build jaspr_cli:jaspr:
    .pub-cache/hosted/pub.dev/dds-2.9.2/lib/src/devtools/handler.dart:111:28: Error: Too few positional arguments: 2 required, 1 given.
    return ServerApi.handle(request);
                           ^
    .pub-cache/hosted/pub.dev/devtools_shared-2.26.1/lib/src/server/server_api.dart:33:35: Context: Found this candidate, but the arguments don't match.
    static FutureOr<shelf.Response> handle(
                                  ^^^^^^

Expected Behavior should be activated

Additional Context jaspr cli : 0.6.1 mac os : 13.3 arm64 dart : 3.0.6

schultek commented 1 year ago

Seems to be an issue with dds and devtools_shared (which was updated just an hour ago).

This is already fixed in the repository of the dds package, but not released yet. I think there is nothing todo but wait right now.

schultek commented 1 year ago

This is fixed now.