Skip to content
This repository has been archived by the owner on Oct 2, 2022. It is now read-only.

Uncaught The "path" argument must be one of type string, Buffer, or URL. Received type boolean #6

Closed
xuwei152 opened this issue Sep 25, 2019 · 1 comment
Labels

Comments

@xuwei152
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.40.1 x64
Electron: 3.1.10
OS: Unknown Windows version
Thrown From: Remote-SSH package 0.11.0

Stack Trace

Uncaught The "path" argument must be one of type string, Buffer, or URL. Received type boolean

At internal/fs/utils.js:409

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be one of type string, Buffer, or URL. Received type boolean
    at Object.fs.open (fs.js:555:3)
    at Object.module.(anonymous function) [as open] (ELECTRON_ASAR.js:193:20)
    at Object.fs.writeFile (fs.js:1299:6)
    at /packages/Remote-SSH/node_modules/fs-plus/lib/fs-plus.js:300:21
    at /packages/Remote-SSH/node_modules/mkdirp/index.js:48:26
    at FSReqWrap.oncomplete (fs.js:183:5)

Commands

  2x -1:16.2.0 core:backspace (input.hidden-input)
     -1:13.7.0 autocomplete-plus:confirm (input.hidden-input)
     -1:13.7.0 snippets:expand (atom-text-editor.editor.is-focused.autocomplete-active)
     -1:07.3.0 intentions:highlight (input.hidden-input)
     -1:06.6.0 editor:consolidate-selections (input.hidden-input)
     -1:06.6.0 core:cancel (input.hidden-input)
     -1:04.5.0 intentions:highlight (input.hidden-input)
     -1:04.3.0 core:save (input.hidden-input)
     -0:51.7.0 intentions:highlight (input.hidden-input)
     -0:51.3.0 core:save (input.hidden-input)
     -0:42.5.0 intentions:highlight (input.hidden-input)
     -0:42.3.0 core:save (input.hidden-input)
     -0:18.3.0 remote-ssh:start (ul.list-inline.tab-bar.inset-panel)
     -0:07.8.0 remote-ssh:create-config (atom-notification.error.icon.icon-flame.native-key-bindings.has-close)

Non-Core Packages

busy-signal 2.0.1 
hyperclick 0.1.5 
intentions 1.1.5 
linter 2.3.1 
linter-ui-default 1.8.0 
Remote-SSH 0.11.0 
ssh-config 0.14.0 
you-complete-me 0.8.1 
@dsone
Copy link
Owner

dsone commented Sep 27, 2019

Had this happen to me once when I started Atom and hit the shortcuts to create .ftpconfig before Atom was fully loaded.

Difficult to exactly pinpoint what the issue here is as there is already error handling. Needs some more research.

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

No branches or pull requests

2 participants