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
filesystem:1 Uncaught (in promise) DOMException:
The requested file could not be read, typically due to permission problems
that have occurred after a reference to a file was acquired.
Note that if the underlying file is not modified, updateData() does not fail ... but is useless.
Reproduction
This commit adds an update button to the demo page to reproduce the bug
go to the http://localhost:5173/core/useFileSystemAccess/ page
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a VueUse issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
Check that this is a concrete bug. For Q&A open a GitHub Discussion.
Describe the bug
Calling updateData() on a modified file fails:
Note that if the underlying file is not modified, updateData() does not fail ... but is useless.
Reproduction
This commit adds an
update
button to the demo page to reproduce the bughttp://localhost:5173/core/useFileSystemAccess/
pageOpen
and select anydummy.txt
fileUpdate
button, no errordummy.txt
, save itUpdate
button, the erro occursSystem Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: