Code Monkey home page Code Monkey logo

Comments (6)

xiota avatar xiota commented on September 25, 2024 2

@higaski Adding users to the flutter group is printed by pacman at install and update, but it leads to warning messages when flutter is updated. I will update the message to mention clearing the home-directory cache.

from packages.

xiota avatar xiota commented on September 25, 2024 1

Thank you for letting me know. Looks like old cache needs to be cleared. Are you using unionfs or did you add your user to flutter group? Should work either way, but location of cache is different. With unionfs, cache is in ~/.cache. With flutter group, package would probably need update.

from packages.

xiota avatar xiota commented on September 25, 2024 1

@vacating Dismounting and deleting the alternate flutter write directories may help. (Double check the rm command before running. Or use a GUI file manager.)

fusermount -uq ~/.cache/flutter_sdk
rm -rf ~/.cache/{flutter_sdk,flutter_local}

from packages.

higaski avatar higaski commented on September 25, 2024

Thanks for the fast reply. Creating and adding myself to the group flutterusers worked. That should be documented somewhere though.

from packages.

vacating avatar vacating commented on September 25, 2024

@xiota @higaski what is the solution_? i got the same error today

from packages.

vacating avatar vacating commented on September 25, 2024

after flutter upgrade this shit load of errors wont stop

Building flutter tool...
Running pub upgrade...
Resolving dependencies...
Downloading packages...
Got dependencies.
../../../../dev/src/flutter/packages/flutter_tools/lib/src/isolated/native_assets/native_assets.dart:48:10: Error: Type 'DryRunResult' not found.
Future dryRun({
^^^^^^^^^^^^
../../../../dev/src/flutter/packages/flutter_tools/lib/src/isolated/native_assets/native_assets.dart:127:10: Error: Type 'DryRunResult' not found.
Future dryRun({
^^^^^^^^^^^^
../../../../dev/src/flutter/packages/flutter_tools/lib/src/isolated/native_assets/native_assets.dart:754:37: Error: Type 'DryRunResult' not found.
void ensureNativeAssetsBuildSucceed(DryRunResult result) {
^^^^^^^^^^^^
../../../../dev/src/flutter/packages/flutter_tools/lib/src/isolated/native_assets/native_assets.dart:123:26: Error: The getter 'packagesWithNativeAssets' isn't defined for the class 'PackageLayout'.

  • 'PackageLayout' is from 'package:native_assets_builder/src/package_layout/package_layout.dart' ('../../Pub/Cache/hosted/pub.dev/native_assets_builder-0.7.0/lib/src/package_layout/package_layout.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'packagesWithNativeAssets'.
    return packageLayout.packagesWithNativeAssets;

and this is not being Initialized : Initializing the Flutter SDK. This may take a few minutes. which give the same erros

from packages.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.