platformio-atom-ide-terminal icon indicating copy to clipboard operation
platformio-atom-ide-terminal copied to clipboard

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

Open john995x opened this issue 4 years ago • 1 comments

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.57.0 x64 Electron: 9.4.4 OS: Microsoft Windows 10 Education N Thrown From: platformio-ide-terminal package 2.10.1

Stack Trace

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

At internal/validators.js:112

TypeError [ERR_INVALID_ARG_TYPE] [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at validateString (internal/validators.js:112:11)
    at Object.resolve (path.js:139:9)
    at PlatformIOTerminalView.module.exports.PlatformIOTerminalView.forkPtyProcess (/packages/platformio-ide-terminal/lib/view.coffee:127:25)
    at PlatformIOTerminalView.module.exports.PlatformIOTerminalView.displayTerminal (/packages/platformio-ide-terminal/lib/view.coffee:136:20)
    at /packages/platformio-ide-terminal/lib/view.coffee:241:10
    at /packages/platformio-ide-terminal/lib/view.coffee:539:7)
    at HTMLDivElement.fn (/packages/platformio-ide-terminal/node_modules/jquery/dist/jquery.js:4855:19)
    at HTMLDivElement.dispatch (/packages/platformio-ide-terminal/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLDivElement.elemData.handle (/packages/platformio-ide-terminal/node_modules/jquery/dist/jquery.js:4121:28)

Commands

Non-Core Packages

open-in-browsers 0.0.30 
platformio-ide-terminal 2.10.1 

Comments:

I was trying to change the path to within the 'Shell Override' setting so that I would be able to use 'bash'

shell on windows within atom instead of the standard 'cmd.exe' shell.

After changing the path to the location of the 'bash' executable inside of the 'Git' for Windows folder

I received this error

john995x avatar May 16 '21 16:05 john995x

This package is no longer maintained. Please uninstall platformio-ide-terminal and install either terminus or x-terminal

UziTech avatar May 16 '21 19:05 UziTech