question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Filesystem.appendFile broken for web

See original GitHub issue

Bug Report

Capacitor Version

Platform(s)

Web

Current Behavior

Error: Current directory does already exist.

Expected Behavior

The file to be appended without error.

Code Reproduction

git clone git@github.com:diachedelic/capacitor-append-file-repro.git &&
  cd capacitor-append-file-repro &&
  npm install &&
  open index.html

Other Technical Details

npm --version output: 6.14.8

node --version output: v14.4.0

pod --version output (iOS issues only):

Additional Context

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
imhoffdcommented, Nov 18, 2020

2.4.3 is out with this fix.

0reactions
ionitron-bot[bot]commented, Nov 11, 2022

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node appendFile not appending data chunk to file on filesystem
The decision to store or append the contents in file are based on a query parameter appendFlag Now when i run this program...
Read more >
File system | Node.js v19.3.0 Documentation
The fs/promises API provides asynchronous file system methods that return promises. The promise APIs use the underlying Node.js threadpool to perform file ......
Read more >
How To Work with Files using the fs Module in Node.js
The code for this file can be broken up into three sections. First, you need to import the Node.js module that allows your...
Read more >
File System - Append file; appending text to file not correct
When I use the Append File, I use a string in the "File Content", ... hasn't change the language configuration, or if the...
Read more >
FileSystem (Apache Hadoop Main 3.3.4 API)
Append to an existing file (optional operation). FSDataOutputStreamBuilder · appendFile(Path path). Create a Builder to append a file. static ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found