Techy Things

NodeJS v8 0

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")...

CONFLICT (submodule): Merge conflict in 'xyz' 0

CONFLICT (submodule): Merge conflict in 'xyz'

CONFLICT (submodule): Merge conflict in orthrus/external [dev@baobab vf]$ git checkout -b KRAK-1541-cleanup vfcore/orthrus/external: needs merge vfcore/vfcommonlib: needs merge error: you need to resolve your current index first [dev@baobab vf]$ git status # On branch...

Qt5Network.lib(Qt5Network.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86' 0

Qt5Network.lib(Qt5Network.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'

$> nmake (...) moc_webfile.cpp moc_xmlparser.cpp moc_QBreakpadHandler.cpp moc_QBreakpadHttpUploader.cpp Generating Code... link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /SUBSYSTEM:WINDOWS " /MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture ='*'" /VERSION:1.21 /MANIFEST:embed /OUT:"release\Haivision Helper.exe" @C:\Users\Frank\AppData\Local\Temp\nmD970.tmp Qt5Network.lib(Qt5Network.dll) : fatal error LNK1112: module...

Backbone bootstrap model validations 0

Backbone bootstrap model validations

Scenario We have fields that needs to be validated. We already highlight the erroneous field(s) and display a specific message below each erroneous field. Now we want to display a popup notification on the...