platformio / platformio-atom-ide-terminal

A terminal package for Atom, complete with themes, API and more for PlatformIO IDE
https://atom.io/packages/platformio-ide-terminal
MIT License
612 stars 162 forks source link

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

Open john995x opened 3 years ago

john995x commented 3 years ago

[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

# #

UziTech commented 3 years ago

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