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

Closed SpeedrunnerG55 closed 4 years ago

SpeedrunnerG55 commented 4 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.48.0 x64 Electron: 5.0.13 OS: Ubuntu 20.04.1 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 Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)

Commands

     -1:31.4.0 intentions:highlight (input.hidden-input)
     -1:31.3.0 core:save (input.hidden-input)
     -1:30.5.0 gpp-compiler:compile (input.hidden-input)
  2x -1:28.6.0 core:backspace (input.hidden-input)
     -1:27.9.0 intentions:highlight (input.hidden-input)
     -1:27.8.0 core:save (input.hidden-input)
     -1:27.3.0 gpp-compiler:compile (input.hidden-input)
     -1:25.8.0 intentions:highlight (input.hidden-input)
     -1:25.6.0 core:cut (input.hidden-input)
     -1:25.4.0 intentions:highlight (input.hidden-input)
     -1:25.3.0 core:save (input.hidden-input)
  6x -1:24.7.0 gpp-compiler:compile (input.hidden-input)
     -0:27.6.0 core:backspace (input.hidden-input)
     -0:26.7.0 intentions:highlight (input.hidden-input)
     -0:26.6.0 core:save (input.hidden-input)
 12x -0:25.3.0 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 
auto-copyright 0.6.0 
auto-indent 0.5.0 
autocomplete-clang 0.13.1 
autocomplete-computercraft 1.0.0 
autocomplete-python 1.16.0 
busy-signal 2.0.1 
file-icons 2.1.42 
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.185.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 
linter 2.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 1.8.1 
linter-write-good 0.9.3 
minimap 4.29.9 
minimap-bookmarks 0.4.2 
minimap-cursorline 0.2.0 
minimap-find-and-replace 4.5.2 
minimap-git-diff 4.3.1 
minimap-highlight-selected 4.6.1 
minimap-linter 2.2.1 
minimap-selection 4.5.0 
minimap-split-diff 0.3.7 
pdf-view 0.72.0 
python-debugger 0.2.0 
python-indent 1.2.6 
python-tools 0.6.9 
script 3.26.0 
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 9.0.2