Wednesday, 3 June 2020

writeFileSync not creating file

// nothing happens fs.writeFileSync("./configuration.json", undefined, err => console.log("error: ", err) );I'm having a tough time debugging this as nothing returns or errs. Can anyone see my error? I imagine it's simple. I tried this in my local environment and also a codesandbox.

Submitted June 04, 2020 at 03:21AM by fpuen

No comments:

Post a Comment