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 Error: read ENOTCONN #414

Closed HamadTarek closed 2 years ago

HamadTarek commented 2 years ago

Prerequisites

Description

Steps to Reproduce

Expected behavior:

Actual behavior:

Versions

Atom: 1.60.0 x64 Electron: 9.4.4 OS: Unknown Windows version Thrown From: gpp-compiler package 3.0.7

Stack Trace

Uncaught Error: read ENOTCONN

At events.js:200

Error: read ENOTCONN
    at tryReadStart (net.js:563:20)
    at Socket._read (net.js:574:5)
    at Socket.Readable.read (_stream_readable.js:492:10)
    at Socket.read (net.js:614:39)
    at new Socket (net.js:368:12)
    at Object.Socket (net.js:259:41)
    at createSocket (internal/child_process.js:311:14)
    at ChildProcess.spawn (internal/child_process.js:424:23)
    at Object.spawn (child_process.js:549:9)
    at compile (/packages/gpp-compiler/index.js:274:31)
    at compileFile (/packages/gpp-compiler/index.js:216:5)
    at /packages/gpp-compiler/index.js:23:11)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:352694)
    at KeymapManager.dispatchCommandEvent (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:1228469)
    at KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:1224603)
    at WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:286682)

Commands

 22x -3:57.5.0 gpp-compiler:compile (input.hidden-input)

Non-Core Packages

gpp 0.6.0 
gpp-compiler 3.0.7 
script 3.32.2 

Additional Information