flutter_boilerplate_project icon indicating copy to clipboard operation
flutter_boilerplate_project copied to clipboard

Web is not working

Open anwarulislam opened this issue 3 years ago • 4 comments

#86 null-safety branch

When I run the app on the web it isn't working. In the console, I see something like this:

MissingPluginException(No implementation found for method getApplicationDocumentsDirectory on channel plugins.flutter.io/path_provider)

getApplicationDocumentsDirectory is not working on flutter web.

anwarulislam avatar Apr 18 '21 05:04 anwarulislam

Looks like this is the full log, might as well put it here if anyone has any ideas. In the meantime I'll try to figure something out.

Error: MissingPluginException(No implementation found for method getApplicationDocumentsDirectory on channel plugins.flutter.io/path_provider)   
    at Object.throw_ [as throw] (http://localhost:31125/dart_sdk.js:5041:11)
    at platform_channel.MethodChannel.new._invokeMethod (http://localhost:31125/packages/flutter/src/services/system_channels.dart.lib.js:943:21)
    at _invokeMethod.next (<anonymous>)
    at http://localhost:31125/dart_sdk.js:37403:33
    at _RootZone.runUnary (http://localhost:31125/dart_sdk.js:37274:59)
    at _FutureListener.thenAwait.handleValue (http://localhost:31125/dart_sdk.js:32530:29)
    at handleValueCallback (http://localhost:31125/dart_sdk.js:33057:49)
    at Function._propagateToListeners (http://localhost:31125/dart_sdk.js:33095:17)
    at _Future.new.[_completeWithValue] (http://localhost:31125/dart_sdk.js:32943:23)
    at async._AsyncCallbackEntry.new.callback (http://localhost:31125/dart_sdk.js:32964:35)
    at Object._microtaskLoop (http://localhost:31125/dart_sdk.js:37526:13)
    at _startMicrotaskLoop (http://localhost:31125/dart_sdk.js:37532:13)
    at http://localhost:31125/dart_sdk.js:33303:9
Error: MissingPluginException(No implementation found for method getApplicationDocumentsDirectory on channel plugins.flutter.io/path_provider)
    at Object.throw_ [as throw] (http://localhost:31125/dart_sdk.js:5041:11)
    at platform_channel.MethodChannel.new._invokeMethod (http://localhost:31125/packages/flutter/src/services/system_channels.dart.lib.js:943:21)
    at _invokeMethod.next (<anonymous>)
    at http://localhost:31125/dart_sdk.js:37403:33
    at _RootZone.runUnary (http://localhost:31125/dart_sdk.js:37274:59)
    at _FutureListener.thenAwait.handleValue (http://localhost:31125/dart_sdk.js:32530:29)
    at handleValueCallback (http://localhost:31125/dart_sdk.js:33057:49)
    at Function._propagateToListeners (http://localhost:31125/dart_sdk.js:33095:17)
    at _Future.new.[_completeWithValue] (http://localhost:31125/dart_sdk.js:32943:23)
    at async._AsyncCallbackEntry.new.callback (http://localhost:31125/dart_sdk.js:32964:35)
    at Object._microtaskLoop (http://localhost:31125/dart_sdk.js:37526:13)
    at _startMicrotaskLoop (http://localhost:31125/dart_sdk.js:37532:13)
    at http://localhost:31125/dart_sdk.js:33303:9
Error: MissingPluginException(No implementation found for method getApplicationDocumentsDirectory on channel plugins.flutter.io/path_provider)
    at Object.throw_ [as throw] (http://localhost:31125/dart_sdk.js:5041:11)
    at platform_channel.MethodChannel.new._invokeMethod (http://localhost:31125/packages/flutter/src/services/system_channels.dart.lib.js:943:21)
    at _invokeMethod.next (<anonymous>)
    at http://localhost:31125/dart_sdk.js:37403:33
    at _RootZone.runUnary (http://localhost:31125/dart_sdk.js:37274:59)
    at _FutureListener.thenAwait.handleValue (http://localhost:31125/dart_sdk.js:32530:29)
    at handleValueCallback (http://localhost:31125/dart_sdk.js:33057:49)
    at Function._propagateToListeners (http://localhost:31125/dart_sdk.js:33095:17)
    at _Future.new.[_completeWithValue] (http://localhost:31125/dart_sdk.js:32943:23)
    at async._AsyncCallbackEntry.new.callback (http://localhost:31125/dart_sdk.js:32964:35)
    at Object._microtaskLoop (http://localhost:31125/dart_sdk.js:37526:13)
    at _startMicrotaskLoop (http://localhost:31125/dart_sdk.js:37532:13)
    at http://localhost:31125/dart_sdk.js:33303:9

AndreCox avatar Jul 26 '21 10:07 AndreCox

facing same issue when running web

matomoo avatar Jul 28 '21 09:07 matomoo

Please support flutter 2.2 with web app and responsive ios/android/web/macos all in one.

nguyenhaduchieu avatar Aug 04 '21 04:08 nguyenhaduchieu

facing same issue when running web

abdullahehab avatar Jun 26 '22 03:06 abdullahehab