Closed ookami-kb closed 3 years ago
Thanks, but btw I still can't release a new version. Could you help check pub run test
. Some dependencies libs are not support null safely
➜ bip39 git:(master) pub run test
Precompiling executable... (9.9s)
Precompiled test:test.
00:01 +0 -1: loading test/bip39_test.dart [E]
Failed to load "test/bip39_test.dart":
Unable to spawn isolate: Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:
- package:stream_channel
- package:test_core
- package:test_api
- package:test
- package:async
- package:stack_trace
- package:term_glyph
- package:boolean_selector
- package:meta
- package:path
- package:matcher
- package:string_scanner
- package:source_span
- package:pedantic
- package:pool
- package:charcode
- package:package_config
For solutions, see https://dart.dev/go/unsound-null-safety
00:01 +0 -1: Some tests failed.
@longhoangwkm hm, that's weird. Works for me:
bip39 on nullsafety via 🎯 v2.12.2
❯ pub run test (699ms)
Precompiling executable... (9.4s)
Precompiled test:test.
00:07 +126: All tests passed!
Dart version:
❯ dart --version (17s 276ms)
Dart SDK version: 2.12.2 (stable) (Wed Mar 17 10:30:20 2021 +0100) on "macos_x64"
Do you have the latest dart version and did you run pub upgrade
?
Thanks, It works after pub upgrade
.
I've published it as https://pub.dev/packages/bip39/versions/1.0.6 version