Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task
ElmerGM opened this issue Sep 6, 2022 · 0 comments

Comments

@ElmerGM
Copy link

ElmerGM commented Sep 6, 2022

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 TypeError: The "file" argument must be of type string. Received type undefined

At internal/validators.js:112

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:112:11)
    at normalizeSpawnArguments (child_process.js:407:3)
    at Object.spawn (child_process.js:543: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:27: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

  3x -2:41.1.0 core:backspace (input.hidden-input)
     -2:26.3.0 gpp-compiler:compile (input.hidden-input)
     -2:19.1.0 go-to-line:toggle (input.hidden-input)
     -2:13 core:save (input.hidden-input)
  3x -1:53.7.0 gpp-compiler:compile (input.hidden-input)
     -1:28 gpp-compiler:gdb (input.hidden-input)
     -1:26.1.0 grammar-selector:show (atom-text-editor.editor.is-focused)
     -1:13.5.0 gpp-compiler:compile (input.hidden-input)
  7x -1:13.1.0 gpp-compiler:gdb (input.hidden-input)
  2x -1:11.5.0 gpp-compiler:compile (input.hidden-input)
     -1:11.3.0 gpp-compiler:gdb (input.hidden-input)
     -1:11.1.0 gpp-compiler:compile (input.hidden-input)
     -1:11 gpp-compiler:gdb (input.hidden-input)
     -1:10.9.0 gpp-compiler:compile (input.hidden-input)
  2x -1:10.9.0 gpp-compiler:gdb (input.hidden-input)
     -0:54.7.0 gpp-compiler:compile (input.hidden-input)

Non-Core Packages

gpp-compiler 3.0.7 
seti-ui 1.11.0 

Additional Information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant