-
Notifications
You must be signed in to change notification settings - Fork 392
Closed
Description
When using web_socket_channel 1.0.1 with crypto 1.0.0, I get the following error:
No static getter 'BASE64' declared in class 'WebSocketChannel'.
The same error can be seen when running unit tests for this repo:
web_socket_channel $ git checkout 1.0.1
web_socket_channel $ pub get
Resolving dependencies... (4.3s)
+ analyzer 0.27.2 (0.27.3-alpha.4 available)
+ args 0.13.4
+ async 1.9.0
+ barback 0.15.2+7
+ boolean_selector 1.0.0
+ charcode 1.1.0
+ collection 1.4.1
+ convert 1.0.1
+ crypto 1.0.0
+ csslib 0.12.2
+ glob 1.1.1
+ html 0.12.2+1
+ http_multi_server 2.0.0
+ http_parser 2.2.1
+ logging 0.11.2
+ matcher 0.12.0+2
+ mime 0.9.3
+ package_config 0.1.3
+ path 1.3.9
+ plugin 0.1.0
+ pool 1.2.1
+ pub_semver 1.2.3
+ shelf 0.6.5
+ shelf_static 0.2.3+3
+ shelf_web_socket 0.2.0
+ source_map_stack_trace 1.0.4
+ source_maps 0.10.1+1
+ source_span 1.2.2
+ stack_trace 1.6.0 (1.6.4 available)
+ stream_channel 1.3.1
+ string_scanner 0.1.4+1
+ test 0.12.13
+ typed_data 1.1.2
+ utf 0.9.0+3
+ watcher 0.9.7
+ yaml 2.1.8
Downloading crypto 1.0.0...
Changed 36 dependencies!
web_socket_channel $ pub run test
00:00 +4 -1: test/web_socket_test.dart: using WebSocketChannel a server can communicate with a WebSocket client
No static getter 'BASE64' declared in class 'WebSocketChannel'.
NoSuchMethodError: method not found: 'BASE64'
Receiver: Type: class 'WebSocketChannel'
Arguments: [...]
dart:core NoSuchMethodError._throwNew
package:web_socket_channel/src/channel.dart 67:12 WebSocketChannel.signKey
test/web_socket_test.dart 66:16 main.<fn>.<fn>.<async>.<fn>.<async>
===== asynchronous gap ===========================
dart:async _Completer.completeError
test/web_socket_test.dart 78:8 main.<fn>.<fn>.<async>.<fn>.<async>
===== asynchronous gap ===========================
dart:io _HttpServer.listen
test/web_socket_test.dart 59:14 main.<fn>.<fn>.<async>
===== asynchronous gap ===========================
dart:async _asyncThenWrapperHelper
test/web_socket_test.dart main.<fn>.<fn>
00:00 +5 -1: Some tests failed.