You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
Activity
[-][web]: <describe issue here>[/-][+]web dart: not found[/+]byte-voyager commentedon Jul 31, 2019
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)
vsmenon commentedon Aug 1, 2019
@jakemac53 - any ideas here?
jakemac53 commentedon Aug 1, 2019
This looks like it is an issue relating to the multiple pub caches. The recommended fix is to delete the
.pub_cachedirectory under your flutter sdk, at which pointflutter packages <command>will start using your normal global pub cache.vsmenon commentedon Aug 8, 2019
Closing this in favor of #37481
github-actions commentedon Aug 28, 2021
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 -vand a minimal reproduction of the issue.