Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

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

Open
john995x opened this issue May 16, 2021 · 1 comment

Comments

@john995x
Copy link

[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
Copy link

UziTech commented May 16, 2021

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

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

No branches or pull requests

2 participants