angulardart / angular

Fast and productive web framework provided by Dart
https://pub.dev/packages/angular
MIT License
1.83k stars 233 forks source link

Error on installation of webdev #1985

Closed jopmiddelkamp closed 2 years ago

jopmiddelkamp commented 2 years ago

I'm getting the error shown below when trying to execute dart pub global activate webdev.

Resolving dependencies... (1.5s)
+ args 2.3.0
+ async 2.8.2
+ browser_launcher 1.0.0
+ build_daemon 3.0.1
+ built_collection 5.1.1
+ built_value 8.1.3
+ charcode 1.3.1
+ checked_yaml 2.0.1
+ clock 1.1.0
+ collection 1.15.0
+ convert 3.0.1
+ crypto 3.0.1
+ dds 2.1.6+2 (2.1.7 available)
+ devtools 2.8.0
+ devtools_server 2.8.0 (2.9.2 available)
+ devtools_shared 2.8.0 (2.9.2 available)
+ dwds 11.5.1
+ fixnum 1.0.0
+ http 0.13.4
+ http_multi_server 3.0.1
+ http_parser 4.0.0
+ intl 0.17.0
+ io 1.0.3
+ json_annotation 4.4.0
+ json_rpc_2 3.0.1
+ logging 1.0.2
+ meta 1.7.0
+ mime 1.0.1
+ package_config 2.0.2
+ path 1.8.1
+ pedantic 1.11.1
+ pool 1.5.0
+ pub_semver 2.1.0
+ pubspec_parse 1.2.0
+ shelf 1.2.0
+ shelf_packages_handler 3.0.0
+ shelf_proxy 1.0.1
+ shelf_static 1.1.0
+ shelf_web_socket 1.0.1
+ source_maps 0.10.10
+ source_span 1.8.1
+ sse 4.1.0
+ stack_trace 1.10.0
+ stream_channel 2.1.0
+ stream_transform 2.0.0
+ string_scanner 1.1.0
+ term_glyph 1.2.0
+ typed_data 1.3.0
+ usage 4.0.2
+ uuid 3.0.5
+ vm_service 7.5.0 (8.1.0 available)
+ watcher 1.0.1
+ web_socket_channel 2.1.0
+ webdev 2.7.7
+ webkit_inspection_protocol 1.0.0
+ yaml 3.1.0
Building package executables... (2.8s)
Failed to build webdev:webdev:
../.pub-cache/hosted/pub.dartlang.org/dds-2.1.6+2/lib/src/cpu_samples_manager.dart:73:21: Error: Type 'CpuSamplesEvent' not found.
  void cacheSamples(CpuSamplesEvent samples) {
                    ^^^^^^^^^^^^^^^
../.pub-cache/hosted/pub.dartlang.org/dds-2.1.6+2/lib/src/cpu_samples_manager.dart:73:21: Error: 'CpuSamplesEvent' isn't a type.
  void cacheSamples(CpuSamplesEvent samples) {
                    ^^^^^^^^^^^^^^^

Dart SDK: Dart SDK version: 2.15.1 (stable) (Tue Dec 14 13:32:21 2021 +0100) on "macos_x64"

OS: macOS Monterey 12.0.1