NoxOriginal post
Rank 2: Process
Hello,
I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : https://appwrite.io/blog/post/announcing-dart-flutter-runtimes
The problem is that when pushing a function, only its folder is uploaded to build it and dart fails to retrieve the workspace of the parent pubspec and fails with the following error:
Found a pubspec.yaml at /usr/local/build. But it has resolution workspace. But found no workspace root including it in parent directories.
Whats the good approach here?
Thanks!
Summary
Developing a Flutter app using dart pub workspaces to deploy a function results in a workspace error. Dart is unable to retrieve the parent pubspec's workspace, causing an upload failure. The solution is to ensure that the correct parent directory is specified in the workspace configuration.