Open marqueznelju opened 3 years ago
Also getting this error on MacOS Monterey
The same here:
[Enter steps to reproduce:]
Atom: 1.58.0 x64 Electron: 9.4.4 OS: macOS 12.0.1 Thrown From: gpp-compiler package 3.0.7
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)
-2:04.3.0 application:reopen-project (div#add-projects-view.)
-1:52.8.0 gpp-compiler:tree-compile (span.name.icon.cpp-icon.medium-blue)
atom-beautify 0.33.4
data-atom 0.29.1
file-icons 2.1.47
gpp-compiler 3.0.7
minimap 4.40.0
[Enter steps to reproduce:]
Atom: 1.58.0 x64 Electron: 9.4.4 OS: Kali GNU/Linux Thrown From: gpp-compiler package 3.0.7
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)
-4:52.8.0 core:paste (div.highlights)
-4:42.9.0 gpp-compiler:compile (div.highlights)
busy-signal 2.0.1
gpp-compiler 3.0.7
switch-header-source 0.34.5
How to fix it?
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 ChildProcess.
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 ChildProcess.
Hi! I have the same error and I don't understand what I need to do. Can somebody help me please ? :/
The same here:
[Enter steps to reproduce:]
- ...
- ...
Atom: 1.58.0 x64 Electron: 9.4.4 OS: macOS 12.0.1 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
-2:04.3.0 application:reopen-project (div#add-projects-view.) -1:52.8.0 gpp-compiler:tree-compile (span.name.icon.cpp-icon.medium-blue)
Non-Core Packages
atom-beautify 0.33.4 data-atom 0.29.1 file-icons 2.1.47 gpp-compiler 3.0.7 minimap 4.40.0
can you explain step by step how I have to do in order to make the compiler work? what actions should i perform?
this problem still fundamentally remains is there any quit solution for this I have been searching on youtube but unfortunately I didn't found a solution for that particular problem any green flag ?
[Enter steps to reproduce:]
Atom: 1.58.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
Commands
Non-Core Packages