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

new issue found #417

Open daystaraliya opened 2 years ago

daystaraliya commented 2 years ago

Prerequisites

Description

Steps to Reproduce

Expected behavior:

Actual behavior:

Versions

Atom: 1.60.0 x64 Electron: 9.4.4 OS: Microsoft Windows 11 Home Single Language 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 Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)

Commands

     -6:11.9.0 editor:newline (input.hidden-input)
  3x -5:45.2.0 core:move-left (input.hidden-input)
  2x -5:39.7.0 core:backspace (input.hidden-input)
     -4:43.3.0 core:move-right (input.hidden-input)
     -4:41.3.0 editor:newline (input.hidden-input)
     -4:23.1.0 core:move-right (input.hidden-input)
     -4:18.8.0 editor:newline (input.hidden-input)
     -4:05.4.0 core:move-right (input.hidden-input)
     -3:30.5.0 editor:newline (input.hidden-input)
     -3:17.1.0 core:backspace (input.hidden-input)
     -2:58.4.0 core:move-right (input.hidden-input)
     -2:44.1.0 editor:newline (input.hidden-input)
  4x -2:41.1.0 core:backspace (input.hidden-input)
     -2:16 editor:newline (input.hidden-input)
     -1:53.9.0 core:save (input.hidden-input)
  2x -1:09.2.0 gpp-compiler:compile (div.line)

Non-Core Packages

gpp-compiler 3.0.7 

Additional Information