kriscross07 / atom-gpp-compiler

An atom package that allows you to compile and run C++ and C within the editor.
https://atom.io/packages/gpp-compiler
80 stars 228 forks source link

Uncaught TypeError: Callback must be a function. Received undefined #409

Closed ItzzExcel closed 2 years ago

ItzzExcel commented 2 years ago

Stack Trace:

TypeError [ERR_INVALID_CALLBACK] [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined
    at maybeCallback (fs.js:135:9)
    at Object.writeFile (fs.js:1234:14)
    at ChildProcess.<anonymous> (C:\Users\anon\.atom\packages\gpp-compiler\index.js:299:12)
    at ChildProcess.emit (events.js:223:5)
    at maybeClose (internal/child_process.js:1021:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)

Error at fs.js:135 fs.js : 1234 : 14 gpp-compiler\index.js:299:12 events.js:223:5 (internal/child_process.js:283:5

Steps to Reproduce:

Screenshot:

image

Additional Info: OS: Windows 11 Home Debugger / Compiler: GCC Application: Atom by GitHub

tushar4422 commented 2 years ago

You should have done any typing error in the program.

ItzzExcel commented 2 years ago

Oh, I hadn't noticed, thanks for letting me know, I'll close the issue