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 The "path" argument must be one of type string, Buffer, or URL. Received type undefined #11

Open
rammulesoft opened this issue Jan 31, 2020 · 0 comments

Comments

@rammulesoft
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.43.0 x64
Electron: 4.2.7
OS: Mac OS X 10.14.6
Thrown From: convert-to-utf8 package 0.2.4

Stack Trace

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

At internal/fs/utils.js:453

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be one of type string, Buffer, or URL. Received type undefined
    at Object.openSync (fs.js:428:3)
    at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:160:31)
    at Object.readFileSync (fs.js:341:35)
    at Object.fs.readFileSync (ELECTRON_ASAR.js:580:40)
    at Object.open (/packages/convert-to-utf8/lib/convert-to-utf8.coffee:26:17)
    at /packages/convert-to-utf8/lib/convert-to-utf8.coffee:14:75)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:349290)
    at CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:347765)
    at AtomEnvironment.dispatchApplicationMenuCommand (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:723427)
    at EventEmitter.t (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:731350)
    at EventEmitter.emit (events.js:182:13)

Commands

     -3:11.3.0 core:undo (input.hidden-input)
     -3:10.5.0 core:copy (input.hidden-input)
     -2:52.7.0 core:select-all (input.hidden-input)
     -2:52.1.0 core:paste (input.hidden-input)
  3x -2:45.6.0 find-and-replace:show (input.hidden-input)
     -2:29.1.0 core:select-all (input.hidden-input)
     -2:28.3.0 core:copy (input.hidden-input)
     -2:15.7.0 core:paste (input.hidden-input)
  2x -2:11.9.0 core:backspace (input.hidden-input)
     -2:07.6.0 core:select-all (input.hidden-input)
     -2:06.9.0 core:copy (input.hidden-input)
 43x -1:51.9.0 core:backspace (input.hidden-input)
     -1:22.8.0 core:undo (input.hidden-input)
 19x -1:20.2.0 core:backspace (input.hidden-input)
     -1:01.7.0 core:copy (input.hidden-input)
     -0:02.5.0 convert-to-utf8:utf-8 (input.hidden-input)

Non-Core Packages

convert-file-encoding 0.1.0 
convert-to-utf8 0.2.4 
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