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

Open SpeedrunnerG55 opened 3 years ago

SpeedrunnerG55 commented 3 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.48.0 x64 Electron: 5.0.13 OS: Ubuntu 20.04.2 Thrown From: gpp-compiler package 3.0.7

Stack Trace

Uncaught TypeError: Callback must be a function

At fs.js:138

TypeError [ERR_INVALID_CALLBACK] [ERR_INVALID_CALLBACK]: Callback must be a function
    at maybeCallback (fs.js:138:9)
    at Object.writeFile (fs.js:1215:14)
    at /packages/gpp-compiler/index.js:299:12)
    at ChildProcess.emit (events.js:194:13)
    at maybeClose (internal/child_process.js:998:16)
    at Socket.<anonymous> (internal/child_process.js:403:11)
    at Socket.emit (events.js:194:13)
    at Pipe.<anonymous> (net.js:593:12)

Commands

     -1:04.0 core:paste (input.hidden-input)
     -0:59.8.0 intentions:highlight (input.hidden-input)
     -0:59.8.0 core:paste (input.hidden-input)
     -0:58.8.0 intentions:highlight (input.hidden-input)
     -0:58.8.0 core:save (input.hidden-input)
     -0:55.3.0 intentions:highlight (input.hidden-input)
     -0:55.1.0 core:save (input.hidden-input)
  5x -0:54.2.0 gpp-compiler:compile (input.hidden-input)
  2x -0:19 core:delete (input.hidden-input)
 11x -0:18.6.0 core:move-up (input.hidden-input)
  5x -0:16.6.0 core:delete (input.hidden-input)
     -0:15.5.0 intentions:highlight (input.hidden-input)
     -0:15.4.0 core:save (input.hidden-input)
     -0:14.1.0 intentions:highlight (input.hidden-input)
     -0:14.1.0 core:save (input.hidden-input)
  9x -0:13 gpp-compiler:compile (input.hidden-input)

Non-Core Packages

arduino-upload 1.8.0 
atom-clock 0.1.18 
atom-material-syntax 1.0.8 
atom-material-ui 2.1.3 
atom-python-run 0.9.7 
atom-typescript 14.2.1 
auto-copyright 0.6.0 
auto-indent 0.5.0 
autocomplete-clang 0.13.1 
autocomplete-computercraft 1.0.0 
autocomplete-python 1.17.0 
autocomplete-sql 0.5.0 
busy-signal 2.0.1 
file-icons 2.1.47 
git-log 0.4.1 
git-plus 8.7.1 
git-time-machine 2.1.0 
glacier-dark-syntax 0.8.0 
glacier-dark-ui 1.5.0 
gpp-compiler 3.0.7 
highlight-selected 0.17.0 
intentions 1.1.5 
intentions-numbers 1.0.4 
jupyter-notebook 0.0.10 
kite 0.204.0 
language-arduino 0.4.3 
language-computercraft 0.2.1 
language-cuda 0.1.0 
language-d 3.3.1 
language-gitignore 0.3.0 
language-lua 0.9.11 
language-sourcepawn 0.7.2 
language-sql-mysql 0.3.1 
linter 3.3.1 
linter-gcc2 0.8.8 
linter-javac 1.10.0 
linter-nvcc 0.1.0 
linter-pylama 0.10.1 
linter-spell 0.15.0 
linter-ui-default 3.0.2 
linter-write-good 0.9.3 
minimap 4.39.12 
minimap-bookmarks 0.4.6 
minimap-cursorline 1.0.3 
minimap-find-and-replace 5.0.8 
minimap-git-diff 4.3.6 
minimap-highlight-selected 4.6.5 
minimap-linter 2.2.2 
minimap-selection 4.5.4 
minimap-split-diff 0.3.7 
multi-cursor 3.0.0 
pdf-view 0.72.0 
python-black 0.7.0 
python-debugger 0.2.0 
python-indent 1.2.6 
python-tools 0.6.9 
split-diff 1.6.1 
teletype 0.13.4 
tree-view-git-status 1.5.3 
twilightsparkle-syntax 1.2.0 
twilightsparkle-ui 1.0.1 
wakatime 10.0.0