Hi,
I’m trying to learn Ionic and went through the photo-gallery-capacitor-ng tutorial app (so the Angular version), but I cannot get it to work as every time I click on the green button to save a picture, an error appears in the web browser console:
ERROR Error: "Uncaught (in promise): InvalidStateError: A mutation operation was attempted on a database that did not allow mutations."
Angular 2
resolvePromise
makeResolver
rejected tslib.es6.js:72
Angular 13
invoke
onInvoke
invoke
run
scheduleResolveOrReject
invokeTask
onInvokeTask
invokeTask
runTask
drainMicroTaskQueue
invokeTask
invokeTask
globalZoneAwareCallback
core.js:6189:19
Angular 4
defaultErrorLogger
handleError
next
schedulerFn
RxJS 5
__tryOrUnsub
next
_next
next
next
Angular 13
emit
onHandleError
invoke
run
runOutsideAngular
onHandleError
handleError
runGuarded
microtaskDrainDone
drainMicroTaskQueue
invokeTask
invokeTask
globalZoneAwareCallback
I tried by cloning the finalized app from github to be sure that it was not an issue with the code I typed but I’m getting the same error.
I’m running the following configuration:
- Firefox Quantum 68.7.0esr 64 bits
- NPM 6.4.1
- Ionic 6.5.0
Thank you for your help!