Code Monkey home page Code Monkey logo

Comments (5)

felangel avatar felangel commented on August 24, 2024 1

@aadarshadhakalg I believe this is related to dart-lang/pub#2934 and is not specific to mason (see also leoafarias/fvm#227).

Make sure you have your paths in the following order

C:\Users\<user>\AppData\Roaming\Pub\Cache\bin
C:\src\flutter\bin\cache\dart-sdk\bin
C:\src\flutter\bin

Let me know if that helps 👍

from mason.

aadarshadhakalg avatar aadarshadhakalg commented on August 24, 2024 1

Yeah, it worked! Thank you @felangel .

from mason.

amebrahimi avatar amebrahimi commented on August 24, 2024 1

It helped me too. Thank you. 🙏

from mason.

felangel avatar felangel commented on August 24, 2024

Hi @aadarshadhakalg 👋
Thanks for opening an issue!

I'm guessing you have multiple installations of mason. This can happen if you run different commands to install mason:

pub global activate mason
dart pub global activate mason
flutter pub global activate mason

I recommend trying to deactivate mason

pub global deactivate mason
dart pub global deactivate mason
flutter pub global deactivate mason

And then reinstall it via dart pub global activate mason. Let me know if that helps 👍

from mason.

aadarshadhakalg avatar aadarshadhakalg commented on August 24, 2024

Hey felangel,

Even though I was preety sure that there weren't multiple installations. I tried to deactivate and again activate it. But, unfortunately it didn't work.

image

from mason.

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.