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 #424

Open Bouhrir opened 1 year ago

Bouhrir commented 1 year ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.58.0 x64 Electron: 9.4.4 OS: Mac OS X 10.15.7 Thrown From: gpp-compiler package 3.0.7

Stack Trace

Uncaught TypeError: Callback must be a function. Received undefined

At fs.js:135

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 /packages/gpp-compiler/index.js:299:12)
    at ChildProcess.emit (events.js:223:5)
    at maybeClose (internal/child_process.js:1021:16)
    at Socket.<anonymous> (internal/child_process.js:430:11)
    at Socket.emit (events.js:223:5)
    at Pipe.<anonymous> (net.js:664:12)

Commands

     -9:58.9.0 package-generator:generate-package (a.btn-issue.btn.btn-error)
     -9:57 core:confirm (input.hidden-input)
     -1:02.2.0 editor:consolidate-selections (input.hidden-input)
     -1:02.2.0 core:cancel (input.hidden-input)
 11x -0:30 gpp-compiler:compile (input.hidden-input)
     -0:17.4.0 encoding-selector:show (atom-text-editor.editor.is-focused)
     -0:10 gpp-compiler:compile (input.hidden-input)
     -0:06.7.0 encoding-selector:show (atom-text-editor.editor.is-focused)
     -0:02.6.0 gpp-compiler:gdb (input.hidden-input)

Non-Core Packages

gpp-compiler 3.0.7 
my-package 0.0.0