[coding help] #656
Replies: 1 comment
-
MDN GitHub Discussions should be topics related to the MDN Web Docs project. If you have general coding questions, you can try Stack Overflow or other forums that can help you troubleshoot. I'm going to close this one for now. Thank you :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
/C:/Users/noobg/AppData/Local/Pub/Cache/hosted/pub.dev/amplify_secure_storage-0.4.2/lib/src/amplify_secure_storage.vm.dart:138:27: Error: The method 'getApplicationSupportDirectory' isn't defined for the class 'AmplifySecureStorage'.
'AmplifySecureStorage' is from 'package:amplify_secure_storage/src/amplify_secure_storage.vm.dart' ('/C:/Users/noobg/AppData/Local/Pub/Cache/hosted/pub.dev/amplify_secure_storage-0.4.2/lib/src/amplify_secure_storage.vm.dart').
Try correcting the name to the name of an existing method, or defining a method named 'getApplicationSupportDirectory'.
final path = (await getApplicationSupportDirectory()).path;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/C:/Users/noobg/AppData/Local/Pub/Cache/hosted/pub.dev/amplify_secure_storage-0.4.2/lib/src/path_provider_local.dart:31:11: Error: Method not found: 'MissingPlatformDirectoryException'.
throw MissingPlatformDirectoryException(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Beta Was this translation helpful? Give feedback.
All reactions