Closed dgateles closed 5 years ago
Hello @dgateles,
fs.writeFile
is an asynchronous function that why it skipped during the execution of your script (writeFile doc).
You should try the synchronous version of this function fs.writeFileSync
(writeFileSync doc) instead.
Best
Worked now!
Im trying to save a json generated but the fs.writeFile step is skipped Here is my code: