Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 976 Vote(s) - 3.48 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot run with sound null safety because dependencies don't support null safety

#1
I have followed ["Enabling null safety" on `dart.dev`][1] and also [**migrated**][2] my whole Flutter application to null safety.

Now, I am trying to run it using `flutter run`. However, it will not start because of the following error:

```lang-none
Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:

- package:cloud_firestore_web
- package:firebase_core_web
- package:shared_preferences
- package:url_launcher_web
- package:firebase_auth
- package:http
- package:provider
...

For solutions, see

[To see links please register here]

Failed to compile application.
```

The guide at the URL says that I should ["wait for dependencies to migrate before you migrate your package"][3], but I want to use [non-nullable by default][4] (NNBD) now.

How can I do that?

[1]:

[To see links please register here]

[2]:

[To see links please register here]

[3]:

[To see links please register here]

[4]:

[To see links please register here]

Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through