Skip to content

Build failsΒ #11

@UncannyBingo

Description

@UncannyBingo

Attempting to build this project as-is results in the following error (even though I'm building for iOS from a Mac):

Error (Xcode): ../../../../.pub-cache/hosted/pub.dev/win32-5.2.0/lib/src/guid.dart:32:9: Error: Type 'UnmodifiableUint8ListView' not found.

The Wisdom of the Internet suggests upgrading the deps using flutter pub upgrade --major-versions. This does indeed fix the problem, but it also updates cbl from version 2.1.3 to version 3.2.1. In this version, the interface appears to have changed dramatically, and there is no obvious path (or anyway a documented path) to migrate the example code to the new interface. Moreover, other libraries updated, such as FormX, also introduce breaking changes.

error: The method 'fromN1ql' isn't defined for the type 'AsyncQuery'. (undefined_method at [flutter_cbl_learning_path] lib/features/audit/data/audit_repository.dart:27)

I appreciate that cbl is community-built and not offered by Couchbase, but if you are going to offer tutorials built around cbl, they need to be kept up to date 😦


flutter --version output

Flutter 3.24.2 β€’ channel stable β€’ https://github.com/flutter/flutter.git
Framework β€’ revision 4cf269e36d (5 weeks ago) β€’ 2024-09-03 14:30:00 -0700
Engine β€’ revision a6bd3f1de1
Tools β€’ Dart 3.5.2 β€’ DevTools 2.37.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions