NodeJS v8 "err": {"message": "fsReadFileAsync(...).then(...).then(...).catch(...).done is not a function",
After upgrading code and libraries, you might run into "err":{"message":"fsReadFileAsync(...).then(...).then(...).catch(...).done is not a function", An example erroneous code const fsReadFileAsync = util.promisify(fs.readFile.bind(fs)); const fsWriteFileAsync = util.promisify(fs.writeFile.bind(fs)); // First apply changes to fstab fsReadFileAsync(this._fstabFilename, "utf8")...
Recent Comments