Skip to content

web dart: not found #36933

Closed
Closed

Description

@byte-voyager

➜ hello_world git:(stable) webdev serve
/home/baloneo/software/flutter/.pub-cache/bin/webdev: 7: /home/baloneo/software/flutter/.pub-cache/bin/webdev: dart: not found

Activity

  1. changed the title [-][web]: <describe issue here>[/-] [+]web dart: not found[/+] on Jul 25, 2019
  2. byte-voyager commented on Jul 31, 2019

    @byte-voyager
    Author

    when i add flutter/bin/cache/dart-sdk/bin to $PATH
    ➜ hello_world git:(stable) webdev serve
    Unhandled exception:
    ProcessException: OUT

    ERR
    The Flutter SDK is not available.


    Command: /home/baloneo/software/flutter/bin/cache/dart-sdk/bin/pub deps
    #0 _runPubDeps (package:webdev/src/pubspec.dart:70:5)

    #1 PubspecLock.read (package:webdev/src/pubspec.dart:84:11)

    #2 readPubspecLock (package:webdev/src/command/shared.dart:62:39)

    #3 ServeCommand.run (package:webdev/src/command/serve_command.dart:104:29)

    #4 CommandRunner.runCommand (package:args/command_runner.dart:197:27)

    #5 _CommandRunner.runCommand (package:webdev/src/webdev_command_runner.dart:38:24)

    #6 CommandRunner.run. (package:args/command_runner.dart:112:25)
    #7 new Future.sync (dart:async/future.dart:224:31)
    #8 CommandRunner.run (package:args/command_runner.dart:112:14)
    #9 run (package:webdev/src/webdev_command_runner.dart:19:56)
    #10 main (file:///home/baloneo/software/flutter/.pub-cache/hosted/pub.flutter-io.cn/webdev-2.3.0/bin/webdev.dart:17:22)

    #11 _startIsolate. (dart:isolate-patch/isolate_patch.dart:299:32)
    #12 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)

  3. vsmenon commented on Aug 1, 2019

    @vsmenon
    Contributor

    @jakemac53 - any ideas here?

  4. jakemac53 commented on Aug 1, 2019

    @jakemac53
    Contributor

    This looks like it is an issue relating to the multiple pub caches. The recommended fix is to delete the .pub_cache directory under your flutter sdk, at which point flutter packages <command> will start using your normal global pub cache.

  5. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Aug 1, 2019
  6. vsmenon commented on Aug 8, 2019

    @vsmenon
    Contributor

    Closing this in favor of #37481

  7. github-actions commented on Aug 28, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  8. locked as resolved and limited conversation to collaborators on Aug 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependency: dartDart team may need to help usplatform-webWeb applications specificallywaiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions