Richard Morris

Results 4 comments of Richard Morris

I think this error is caused by issue 284 https://github.com/kriscross07/atom-gpp-compiler/issues/284. Changing fs.writeFile(...) to fs.writeFileSync(...) on line 299 and changing fs.unlink(...) to fs.unlinkSync(...) on line 427 of index.js, both successfully writes...

> Same error, I tried reinstalling MinGW but it didn't help. Does anyone know how to solve this?? Do you have a stack trace, (see Developer console) If top of...

> it helped but still it doesnt update after first time the compile_error.txt .we have to close and reopen. It works for me, giving all errors in the same file....

Actually a better fix might be to use the asynchronous write, but add an error callback to the function call. fs.writeFile(path.join(info.dir, "compiling_error.txt"), stderr, (stderr) => { if (stderr) { atom....