atom-gpp-compiler
atom-gpp-compiler copied to clipboard
Fix "Callback must be a function. Received undefined" error
Many users have reported the following error: Callback must be a function. Received undefined
.
This error was caused by asynchronous fs method calls that did not include a callback. The issue has been fixed by calling the synchronous variants of the methods instead, since those do not require a callback.
I really have no clue what this means. I just want to compile some lines for school assignment.....
I'd strongly discourage you from using atom-gpp-compiler since the package hasn't actually been updated in years. Instead, you might want to use an IDE made specifically for C++ programming like Code::Blocks, CodeLite, or CLion if you can get a student license. However, since you say you only need to compile some lines, I'd actually recommend using an online C++ compiler , since that's by far the easiest way to run your code.