atom-gpp-compiler icon indicating copy to clipboard operation
atom-gpp-compiler copied to clipboard

gpp compiler issue

Open dinaesh opened this issue 4 years ago • 0 comments

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.53.0 x64 Electron: 6.1.12 OS: linux 5.10.4-arch2-1 Thrown From: gpp-compiler package 3.0.7

Stack Trace

Uncaught TypeError: The "file" argument must be of type string. Received type undefined

At internal/validators.js:107

TypeError [ERR_INVALID_ARG_TYPE] [ERR_INVALID_ARG_TYPE]: The "file" argument must be of type string. Received type undefined
    at validateString (internal/validators.js:107:11)
    at normalizeSpawnArguments (child_process.js:406:3)
    at Object.spawn (child_process.js:542:16)
    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 (/usr/lib/atom/src/command-registry.js:405:43)
    at CommandRegistry.dispatch (/usr/lib/atom/src/command-registry.js:292:17)
    at AtomEnvironment.dispatchContextMenuCommand (/usr/lib/atom/src/atom-environment.js:1583:19)
    at EventEmitter.outerCallback (/usr/lib/atom/src/application-delegate.js:329:47)
    at EventEmitter.emit (events.js:200:13)
    at Object.onMessage (/usr/lib/electron6/resources/electron.asar/renderer/init.js:42:16)

Commands

  5x -8:40.7.0 core:move-right (input.hidden-input)
  5x -8:39.3.0 core:move-left (input.hidden-input)
     -8:37.7.0 core:move-right (input.hidden-input)
     -8:37.4.0 core:backspace (input.hidden-input)
  4x -8:35.2.0 core:move-right (input.hidden-input)
  6x -8:31.9.0 core:backspace (input.hidden-input)
  2x -8:26.8.0 core:save (input.hidden-input)
     -4:10.1.0 package-generator:generate-package (input.hidden-input)
     -4:06.9.0 core:move-right (input.hidden-input)
     -4:05.9.0 editor:consolidate-selections (input.hidden-input)
     -4:05.9.0 core:cancel (input.hidden-input)
     -3:57.8.0 settings-view:install-packages-and-themes (input.hidden-input)
     -2:22.6.0 gpp-compiler:compile (div.highlights)
     -1:56.7.0 gpp-compiler:gdb (div.line)
  2x -0:56.2.0 core:save (input.hidden-input)
     -0:44.7.0 gpp-compiler:compile (div.line)

Non-Core Packages

electron-cannon 0.1.0 
gpp-compiler 3.0.7 

dinaesh avatar Jan 05 '21 06:01 dinaesh