Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web is not working #93

Open
anwarulislam opened this issue Apr 18, 2021 · 4 comments
Open

Web is not working #93

anwarulislam opened this issue Apr 18, 2021 · 4 comments

Comments

@anwarulislam
Copy link

anwarulislam commented Apr 18, 2021

#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.

@AndreCox
Copy link

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

@matomoo
Copy link

matomoo commented Jul 28, 2021

facing same issue when running web

@nguyenhaduchieu
Copy link

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

@abdullahehab
Copy link

facing same issue when running web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants