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

Failed to load the remote-edit package #250

Open
abdhamidbustamin opened this issue Aug 4, 2019 · 36 comments
Open

Failed to load the remote-edit package #250

abdhamidbustamin opened this issue Aug 4, 2019 · 36 comments

Comments

@abdhamidbustamin
Copy link

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
at assertPath (path.js:39:11)
at Object.resolve (path.js:168:7)
at Object. (file:///C:/Users/User/.atom/packages/remote-edit/lib/model/remote-edit-editor.coffee:7:36)
at Object. (file:///C:/Users/User/.atom/packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
at Object. (file:///C:/Users/User/.atom/packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
at Module.get_Module._compile (C:\Users\User\AppData\Local\atom\app-1.39.1\resources\app\static<embedded>:11:147410)
at Object.value [as .coffee] (C:\Users\User\AppData\Local\atom\app-1.39.1\resources\app\static<embedded>:11:150958)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
at Function.Module._load (internal/modules/cjs/loader.js:551:3)
at Module.require (file:///C:/Users/User/AppData/Local/atom/app-1.39.1/resources/app.asar/static/index.js:71:46)
at require (C:\Users\User\AppData\Local\atom\app-1.39.1\resources\app\static<embedded>:11:146719)
at Object. (file:///C:/Users/User/.atom/packages/remote-edit/lib/main.coffee:3:20)
at Object. (file:///C:/Users/User/.atom/packages/remote-edit/lib/main.coffee:1:1)
at Object. (file:///C:/Users/User/.atom/packages/remote-edit/lib/main.coffee:1:1)
at Module.get_Module._compile (C:\Users\User\AppData\Local\atom\app-1.39.1\resources\app\static<embedded>:11:147410)
at Object.value [as .coffee] (C:\Users\User\AppData\Local\atom\app-1.39.1\resources\app\static<embedded>:11:150958)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
at Function.Module._load (internal/modules/cjs/loader.js:551:3)
at Module.require (file:///C:/Users/User/AppData/Local/atom/app-1.39.1/resources/app.asar/static/index.js:71:46)
at require (internal/modules/cjs/helpers.js:20:18)
at customRequire (C:\Users\User\AppData\Local\atom\app-1.39.1\resources\app\static<embedded>:1:712926)
at Package.requireMainModule (C:\Users\User\AppData\Local\atom\app-1.39.1\resources\app\static<embedded>:11:3553046)
at measure (C:\Users\User\AppData\Local\atom\app-1.39.1\resources\app\static<embedded>:11:3539586)
at Package.measure (C:\Users\User\AppData\Local\atom\app-1.39.1\resources\app\static<embedded>:11:3538418)
at Package.load (C:\Users\User\AppData\Local\atom\app-1.39.1\resources\app\static<embedded>:11:3539159)
at PackageManager.loadAvailablePackage (C:\Users\User\AppData\Local\atom\app-1.39.1\resources\app\static<embedded>:11:380186)
at config.transact (C:\Users\User\AppData\Local\atom\app-1.39.1\resources\app\static<embedded>:11:378609)
at Config.transact (C:\Users\User\AppData\Local\atom\app-1.39.1\resources\app\static<embedded>:11:330960)

@amedeopro
Copy link

i have the same problem

@prashh83
Copy link

Even I have the same problem

@alexandergirod
Copy link

I'm experiencing the same issue

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at assertPath (path.js:39:11)
    at Object.resolve (path.js:168:7)
    at Object.<anonymous> (file:///C:/Users/User/.atom/packages/remote-edit/lib/model/remote-edit-editor.coffee:7:36)
    at Object.<anonymous> (file:///C:/Users/User/.atom/packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at Object.<anonymous> (file:///C:/Users/User/.atom/packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at Module.get_Module._compile (C:\Users\User\AppData\Local\atom\app-1.40.0\resources\app\static\<embedded>:11:147429)
    at Object.value [as .coffee] (C:\Users\User\AppData\Local\atom\app-1.40.0\resources\app\static\<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (file:///C:/Users/User/AppData/Local/atom/app-1.40.0/resources/app.asar/static/index.js:72:46)
    at require (C:\Users\User\AppData\Local\atom\app-1.40.0\resources\app\static\<embedded>:11:146745)
    at Object.<anonymous> (file:///C:/Users/User/.atom/packages/remote-edit/lib/main.coffee:3:20)
    at Object.<anonymous> (file:///C:/Users/User/.atom/packages/remote-edit/lib/main.coffee:1:1)
    at Object.<anonymous> (file:///C:/Users/User/.atom/packages/remote-edit/lib/main.coffee:1:1)
    at Module.get_Module._compile (C:\Users\User\AppData\Local\atom\app-1.40.0\resources\app\static\<embedded>:11:147429)
    at Object.value [as .coffee] (C:\Users\User\AppData\Local\atom\app-1.40.0\resources\app\static\<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (file:///C:/Users/User/AppData/Local/atom/app-1.40.0/resources/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:20:18)
    at customRequire (C:\Users\User\AppData\Local\atom\app-1.40.0\resources\app\static\<embedded>:1:727319)
    at Package.requireMainModule (C:\Users\User\AppData\Local\atom\app-1.40.0\resources\app\static\<embedded>:11:3417934)
    at measure (C:\Users\User\AppData\Local\atom\app-1.40.0\resources\app\static\<embedded>:11:3404474)
    at Package.measure (C:\Users\User\AppData\Local\atom\app-1.40.0\resources\app\static\<embedded>:11:3403306)
    at Package.load (C:\Users\User\AppData\Local\atom\app-1.40.0\resources\app\static\<embedded>:11:3404047)
    at PackageManager.loadAvailablePackage (C:\Users\User\AppData\Local\atom\app-1.40.0\resources\app\static\<embedded>:11:380859)
    at PackageManager.loadPackage (C:\Users\User\AppData\Local\atom\app-1.40.0\resources\app\static\<embedded>:11:379587)
    at PackageManager.atom.packages.loadPackage (C:\Users\User\.atom\packages\atom-ide-ui\modules\nuclide-commons-atom\FeatureLoader.js:527:32)
    at PackageManager.activatePackage (C:\Users\User\AppData\Local\atom\app-1.40.0\resources\app\static\<embedded>:11:382159)
    at C:\Users\User\AppData\Local\atom\app-1.40.0\resources\app\static\<embedded>:11:937303
    at r (C:\Users\User\AppData\Local\atom\app-1.40.0\resources\app\static\<embedded>:11:931909)
    at n (C:\Users\User\AppData\Local\atom\app-1.40.0\resources\app\static\<embedded>:14:1128993)
    at ChildProcess.o.process.on.e (C:\Users\User\AppData\Local\atom\app-1.40.0\resources\app\static\<embedded>:14:1129199)
    at ChildProcess.emit (events.js:182:13)

@rolfbrugger
Copy link

I'm having the same problem on MacOSX v10.14.6

@tdkroll33
Copy link

Also encountered this issue.

@zhanglp99
Copy link

I encountered this issue too

@zhanglp99
Copy link

forgot to mention it is on MacOSX v10.14.7, any workaround ?

@AlexanderNelzin
Copy link

Same issue Ubuntu 18.04

@linnabrown
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.40.1 x64
Electron: 3.1.10
OS: Mac OS X 10.14.3
Thrown From: remote-edit package 1.9.0

Stack Trace

Failed to load the remote-edit package

At The "path" argument must be of type string. Received type undefined

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at assertPath (path.js:39:11)
    at Object.resolve (path.js:1090:7)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:7:36)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147429)
    at Object.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146745)
    at /packages/remote-edit/lib/main.coffee:3:20)
    at /packages/remote-edit/lib/main.coffee:1:1)
    at /packages/remote-edit/lib/main.coffee:1:1)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147429)
    at Object.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:20:18)
    at customRequire (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:688158)
    at Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3307234)
    at measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3293774)
    at Package.measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3292606)
    at Package.load (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3293347)
    at PackageManager.loadAvailablePackage (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:380859)
    at config.transact (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:379282)
    at Config.transact (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:331347)

Commands

Non-Core Packages

atom-latex 0.8.5 
language-latex 1.2.0 
remote-atom 1.3.12 
remote-edit 1.9.0 

@mgjuhler
Copy link

mgjuhler commented Sep 5, 2019

Same here.

Atom: 1.40.1 x64
Electron: 3.1.10
OS: Microsoft Windows 10 Pro N
Thrown From: remote-edit package 1.9.0

Stack Trace

Failed to load the remote-edit package

At The "path" argument must be of type string. Received type undefined

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at assertPath (path.js:39:11)
    at Object.resolve (path.js:168:7)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:7:36)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:147429)
    at Object.value [as .coffee] (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:146745)
    at /packages/remote-edit/lib/main.coffee:3:20)
    at /packages/remote-edit/lib/main.coffee:1:1)
    at /packages/remote-edit/lib/main.coffee:1:1)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:147429)
    at Object.value [as .coffee] (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:20:18)
    at customRequire (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:1:714332)
    at Package.requireMainModule (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:3417381)
    at measure (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:3403921)
    at Package.measure (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:3402753)
    at Package.load (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:3403494)
    at PackageManager.loadAvailablePackage (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:380859)
    at PackageManager.loadPackage (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:379587)
    at PackageManager.atom.packages.loadPackage (/packages/atom-ide-ui/modules/nuclide-commons-atom/FeatureLoader.js:527:32)
    at PackageManager.activatePackage (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:382159)
    at ~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:937303
    at r (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:931909)
    at n (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:14:1128986)
    at ChildProcess.o.process.on.e (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:14:1129192)
    at ChildProcess.emit (events.js:182:13)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)

Commands

Non-Core Packages

aligner-php 1.3.0 
atom-debug-ui 1.0.4 
atom-ide-ui 0.13.0 
atom-monokai-php 1.0.0 
drunken-php 0.2.4 
ide-php 0.7.18 
lazy-light-syntax 0.1.1 
php-cs-fixer 4.1.1 
php-debug 0.3.5 
php-light-syntax 1.0.2 
remote-edit 1.9.0 

@fbeneventi
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.40.1 x64
Electron: 3.1.10
OS: Microsoft Windows 10 Pro
Thrown From: remote-edit package 1.9.0

Stack Trace

Failed to load the remote-edit package

At The "path" argument must be of type string. Received type undefined

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at assertPath (path.js:39:11)
    at Object.resolve (path.js:168:7)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:7:36)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:147429)
    at Object.value [as .coffee] (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:146745)
    at /packages/remote-edit/lib/main.coffee:3:20)
    at /packages/remote-edit/lib/main.coffee:1:1)
    at /packages/remote-edit/lib/main.coffee:1:1)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:147429)
    at Object.value [as .coffee] (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:20:18)
    at customRequire (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:1:714332)
    at Package.requireMainModule (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:3417381)
    at measure (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:3403921)
    at Package.measure (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:3402753)
    at Package.load (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:3403494)
    at PackageManager.loadAvailablePackage (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:380859)
    at config.transact (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:379282)
    at Config.transact (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:331347)

Commands

Non-Core Packages

remote-edit 1.9.0 

@ranasats
Copy link

Same issue on OSX 10.14.6

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.40.1 x64
Electron: 3.1.10
OS: Mac OS X 10.14.6
Thrown From: remote-edit package 1.9.0

Stack Trace

Failed to load the remote-edit package

At The "path" argument must be of type string. Received type undefined

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at assertPath (path.js:39:11)
    at Object.resolve (path.js:1090:7)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:7:36)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147429)
    at Object.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146745)
    at /packages/remote-edit/lib/main.coffee:3:20)
    at /packages/remote-edit/lib/main.coffee:1:1)
    at /packages/remote-edit/lib/main.coffee:1:1)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147429)
    at Object.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:20:18)
    at customRequire (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:688158)
    at Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3307234)
    at measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3293774)
    at Package.measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3292606)
    at Package.load (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3293347)
    at PackageManager.loadAvailablePackage (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:380859)
    at config.transact (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:379282)
    at Config.transact (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:331347)

Commands

Non-Core Packages

remote-edit 1.9.0 

@solteranis
Copy link

Also have this exact issue

@intercollector
Copy link

intercollector commented Sep 17, 2019

count me in too...same issue on version 1.9.0

Windows 10

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
at assertPath (path.js:39:11)
at Object.resolve (path.js:168:7)
at Object. (file:///C:/Users/scott/.atom/packages/remote-edit/lib/model/remote-edit-editor.coffee:7:36)
at Object. (file:///C:/Users/scott/.atom/packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
at Object. (file:///C:/Users/scott/.atom/packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
at Module.get_Module._compile (C:\Users\scott\AppData\Local\atom\app-1.40.1\resources\app\static<embedded>:11:147429)
at Object.value [as .coffee] (C:\Users\scott\AppData\Local\atom\app-1.40.1\resources\app\static<embedded>:11:150977)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
at Function.Module._load (internal/modules/cjs/loader.js:551:3)
at Module.require (file:///C:/Users/scott/AppData/Local/atom/app-1.40.1/resources/app.asar/static/index.js:72:46)
at require (C:\Users\scott\AppData\Local\atom\app-1.40.1\resources\app\static<embedded>:11:146745)
at Object. (file:///C:/Users/scott/.atom/packages/remote-edit/lib/main.coffee:3:20)
at Object. (file:///C:/Users/scott/.atom/packages/remote-edit/lib/main.coffee:1:1)
at Object. (file:///C:/Users/scott/.atom/packages/remote-edit/lib/main.coffee:1:1)
at Module.get_Module._compile (C:\Users\scott\AppData\Local\atom\app-1.40.1\resources\app\static<embedded>:11:147429)
at Object.value [as .coffee] (C:\Users\scott\AppData\Local\atom\app-1.40.1\resources\app\static<embedded>:11:150977)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
at Function.Module._load (internal/modules/cjs/loader.js:551:3)
at Module.require (file:///C:/Users/scott/AppData/Local/atom/app-1.40.1/resources/app.asar/static/index.js:72:46)
at require (internal/modules/cjs/helpers.js:20:18)
at customRequire (C:\Users\scott\AppData\Local\atom\app-1.40.1\resources\app\static<embedded>:1:714332)
at Package.requireMainModule (C:\Users\scott\AppData\Local\atom\app-1.40.1\resources\app\static<embedded>:11:3417381)
at measure (C:\Users\scott\AppData\Local\atom\app-1.40.1\resources\app\static<embedded>:11:3403921)
at Package.measure (C:\Users\scott\AppData\Local\atom\app-1.40.1\resources\app\static<embedded>:11:3402753)
at Package.load (C:\Users\scott\AppData\Local\atom\app-1.40.1\resources\app\static<embedded>:11:3403494)
at PackageManager.loadAvailablePackage (C:\Users\scott\AppData\Local\atom\app-1.40.1\resources\app\static<embedded>:11:380859)
at PackageManager.loadPackage (C:\Users\scott\AppData\Local\atom\app-1.40.1\resources\app\static<embedded>:11:379587)
at PackageManager.activatePackage (C:\Users\scott\AppData\Local\atom\app-1.40.1\resources\app\static<embedded>:11:382159)
at C:\Users\scott\AppData\Local\atom\app-1.40.1\resources\app\static<embedded>:11:937303
at r (C:\Users\scott\AppData\Local\atom\app-1.40.1\resources\app\static<embedded>:11:931909)
at n (C:\Users\scott\AppData\Local\atom\app-1.40.1\resources\app\static<embedded>:14:1128986)
at e.bufferStream (C:\Users\scott\AppData\Local\atom\app-1.40.1\resources\app\static<embedded>:14:1129074)
at Socket.e.on (C:\Users\scott\AppData\Local\atom\app-1.40.1\resources\app\static<embedded>:14:1127742)
at Socket.emit (events.js:187:15)
at Pipe._handle.close [as _onclose] (net.js:596:12)

@BenEmdon
Copy link

BenEmdon commented Sep 21, 2019

Steps to reproduce:

  1. Try to install the package

Atom: 1.40.1 x64
Electron: 3.1.10
OS: Mac OS X 10.14.6
Thrown From: remote-edit package 1.9.0

Stack Trace

Failed to load the remote-edit package

At The "path" argument must be of type string. Received type undefined

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at assertPath (path.js:39:11)
    at Object.resolve (path.js:1090:7)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:7:36)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147429)
    at Object.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146745)
    at /packages/remote-edit/lib/main.coffee:3:20)
    at /packages/remote-edit/lib/main.coffee:1:1)
    at /packages/remote-edit/lib/main.coffee:1:1)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147429)
    at Object.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:20:18)
    at customRequire (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:688158)
    at Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3307234)
    at measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3293774)
    at Package.measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3292606)
    at Package.load (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3293347)
    at PackageManager.loadAvailablePackage (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:380859)
    at PackageManager.loadPackage (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:379587)
    at PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:382159)
    at /Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:937303
    at r (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:931909)
    at n (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1128972)
    at e.bufferStream (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1129060)
    at Socket.e.on (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1127728)
    at Socket.emit (events.js:187:15)
    at Pipe._handle.close [as _onclose] (net.js:596:12)

@Adrian0350
Copy link

Adrian0350 commented Sep 23, 2019

After trying to install package:

MacOS 10.14.4
Atom 1.40.1 x64

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined at assertPath (path.js:39:11) at Object.resolve (path.js:1090:7) at Object.<anonymous> (/Users/adrian/.atom/packages/remote-edit/lib/model/remote-edit-editor.coffee:7:36) at Object.<anonymous> (/Users/adrian/.atom/packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1) at Object.<anonymous> (/Users/adrian/.atom/packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1) at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147429) at Object.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150977) at Module.load (internal/modules/cjs/loader.js:620:32) at tryModuleLoad (internal/modules/cjs/loader.js:559:12) at Function.Module._load (internal/modules/cjs/loader.js:551:3) at Module.require (file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.js:72:46) at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146745) at Object.<anonymous> (/Users/adrian/.atom/packages/remote-edit/lib/main.coffee:3:20) at Object.<anonymous> (/Users/adrian/.atom/packages/remote-edit/lib/main.coffee:1:1) at Object.<anonymous> (/Users/adrian/.atom/packages/remote-edit/lib/main.coffee:1:1) at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147429) at Object.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150977) at Module.load (internal/modules/cjs/loader.js:620:32) at tryModuleLoad (internal/modules/cjs/loader.js:559:12) at Function.Module._load (internal/modules/cjs/loader.js:551:3) at Module.require (file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.js:72:46) at require (internal/modules/cjs/helpers.js:20:18) at customRequire (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:688158) at Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3307234) at measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3293774) at Package.measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3292606) at Package.load (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3293347) at PackageManager.loadAvailablePackage (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:380859) at config.transact (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:379282) at Config.transact (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:331347)

@ganeshcodes
Copy link

I ran into the same issue today while trying to install remote-edit and/or remote-edit2 packages.

Atom: 1.40.1 X64
Node: v10.2.0
OS: Windows 10 64-bit

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined at assertPath (path.js:39:11) at Object.resolve (path.js:168:7) at Object.<anonymous> (file:///C:/Users/gthavasi/.atom/packages/remote-edit/lib/model/remote-edit-editor.coffee:7:36) at Object.<anonymous> (file:///C:/Users/gthavasi/.atom/packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1) at Object.<anonymous> (file:///C:/Users/gthavasi/.atom/packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1) at Module.get_Module._compile (C:\Users\gthavasi\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:147429) at Object.value [as .coffee] (C:\Users\gthavasi\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:150977) at Module.load (internal/modules/cjs/loader.js:620:32) at tryModuleLoad (internal/modules/cjs/loader.js:559:12) at Function.Module._load (internal/modules/cjs/loader.js:551:3) at Module.require (file:///C:/Users/gthavasi/AppData/Local/atom/app-1.40.1/resources/app.asar/static/index.js:72:46) at require (C:\Users\gthavasi\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:146745) at Object.<anonymous> (file:///C:/Users/gthavasi/.atom/packages/remote-edit/lib/main.coffee:3:20) at Object.<anonymous> (file:///C:/Users/gthavasi/.atom/packages/remote-edit/lib/main.coffee:1:1) at Object.<anonymous> (file:///C:/Users/gthavasi/.atom/packages/remote-edit/lib/main.coffee:1:1) at Module.get_Module._compile (C:\Users\gthavasi\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:147429) at Object.value [as .coffee] (C:\Users\gthavasi\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:150977) at Module.load (internal/modules/cjs/loader.js:620:32) at tryModuleLoad (internal/modules/cjs/loader.js:559:12) at Function.Module._load (internal/modules/cjs/loader.js:551:3) at Module.require (file:///C:/Users/gthavasi/AppData/Local/atom/app-1.40.1/resources/app.asar/static/index.js:72:46) at require (internal/modules/cjs/helpers.js:20:18) at customRequire (C:\Users\gthavasi\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:1:714332) at Package.requireMainModule (C:\Users\gthavasi\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:3417381) at measure (C:\Users\gthavasi\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:3403921) at Package.measure (C:\Users\gthavasi\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:3402753) at Package.load (C:\Users\gthavasi\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:3403494) at PackageManager.loadAvailablePackage (C:\Users\gthavasi\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:380859) at PackageManager.loadPackage (C:\Users\gthavasi\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:379587) at PackageManager.activatePackage (C:\Users\gthavasi\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:382159) at C:\Users\gthavasi\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:937303 at r (C:\Users\gthavasi\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11:931909) at n (C:\Users\gthavasi\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:14:1128986) at ChildProcess.o.process.on.e (C:\Users\gthavasi\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:14:1129192) at ChildProcess.emit (events.js:182:13) at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)

@florindediu
Copy link

Same error here

`[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.40.1 x64
Electron: 3.1.10
OS: Mac OS X 10.13.6
Thrown From: remote-edit package 1.9.0

Stack Trace

Failed to load the remote-edit package

At The "path" argument must be of type string. Received type undefined

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at assertPath (path.js:39:11)
    at Object.resolve (path.js:1090:7)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:7:36)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at Module.get_Module._compile (/Volumes/OS/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147429)
    at Object.value [as .coffee] (/Volumes/OS/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/Volumes/OS/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146745)
    at /packages/remote-edit/lib/main.coffee:3:20)
    at /packages/remote-edit/lib/main.coffee:1:1)
    at /packages/remote-edit/lib/main.coffee:1:1)
    at Module.get_Module._compile (/Volumes/OS/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147429)
    at Object.value [as .coffee] (/Volumes/OS/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:20:18)
    at customRequire (/Volumes/OS/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:688158)
    at Package.requireMainModule (/Volumes/OS/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3307234)
    at measure (/Volumes/OS/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3293774)
    at Package.measure (/Volumes/OS/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3292606)
    at Package.load (/Volumes/OS/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3293347)
    at PackageManager.loadAvailablePackage (/Volumes/OS/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:380859)
    at config.transact (/Volumes/OS/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:379282)
    at Config.transact (/Volumes/OS/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:331347)

Commands

Non-Core Packages

ftp-remote-edit 0.17.4 
remote-edit 1.9.0 
remote-ftp 2.2.2 

`

@userlerueda
Copy link

I have this problem too. Is there a workaround ?

@igtoth
Copy link

igtoth commented Oct 14, 2019

same error

@sysadmins-kokoba
Copy link

[Enter steps to reproduce:]

...
...
atom --version
Atom : 1.40.1
Electron: 3.1.10
Chrome : 66.0.3359.181
Node : 10.2.0
Stack Trace
Failed to load the remote-edit package

If this helps

cat /etc/fedora-release                                     git:master*
Fedora release 30 (Thirty)
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at assertPath (path.js:39:11)
    at Object.resolve (path.js:1090:7)
    at Object.<anonymous> (/home/jayeola/.atom/packages/remote-edit/lib/model/remote-edit-editor.coffee:7:36)
    at Object.<anonymous> (/home/jayeola/.atom/packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at Object.<anonymous> (/home/jayeola/.atom/packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at Module.get_Module._compile (/usr/share/atom/resources/app/static/<embedded>:11:147429)
    at Object.value [as .coffee] (/usr/share/atom/resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (file:///usr/share/atom/resources/app.asar/static/index.js:72:46)
    at require (/usr/share/atom/resources/app/static/<embedded>:11:146745)
    at Object.<anonymous> (/home/jayeola/.atom/packages/remote-edit/lib/main.coffee:3:20)
    at Object.<anonymous> (/home/jayeola/.atom/packages/remote-edit/lib/main.coffee:1:1)
    at Object.<anonymous> (/home/jayeola/.atom/packages/remote-edit/lib/main.coffee:1:1)
    at Module.get_Module._compile (/usr/share/atom/resources/app/static/<embedded>:11:147429)
    at Object.value [as .coffee] (/usr/share/atom/resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (file:///usr/share/atom/resources/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:20:18)
    at customRequire (/usr/share/atom/resources/app/static/<embedded>:1:688157)
    at Package.requireMainModule (/usr/share/atom/resources/app/static/<embedded>:11:3304913)
    at measure (/usr/share/atom/resources/app/static/<embedded>:11:3291453)
    at Package.measure (/usr/share/atom/resources/app/static/<embedded>:11:3290285)
    at Package.load (/usr/share/atom/resources/app/static/<embedded>:11:3291026)
    at PackageManager.loadAvailablePackage (/usr/share/atom/resources/app/static/<embedded>:11:380859)
    at PackageManager.loadPackage (/usr/share/atom/resources/app/static/<embedded>:11:379587)
    at PackageManager.activatePackage (/usr/share/atom/resources/app/static/<embedded>:11:382159)
    at /usr/share/atom/resources/app/static/<embedded>:11:937303
    at r (/usr/share/atom/resources/app/static/<embedded>:11:931909)
    at n (/usr/share/atom/resources/app/static/<embedded>:14:1128972)
    at t.bufferStream (/usr/share/atom/resources/app/static/<embedded>:14:1129126)
    at Socket.e.on (/usr/share/atom/resources/app/static/<embedded>:14:1127728)
    at Socket.emit (events.js:187:15)
    at Pipe._handle.close [as _onclose] (net.js:596:12)

@tfmotu
Copy link

tfmotu commented Oct 24, 2019

Same error.
[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.40.1 x64
Electron: 3.1.10
OS: Debian GNU/Linux
Thrown From: remote-edit package 1.9.0

Stack Trace

Failed to load the remote-edit package

At The "path" argument must be of type string. Received type undefined

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at assertPath (path.js:39:11)
    at Object.resolve (path.js:1090:7)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:7:36)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at Module.get_Module._compile (/usr/share/atom/resources/app/static/<embedded>:11:147429)
    at Object.value [as .coffee] (/usr/share/atom/resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/usr/share/atom/resources/app/static/<embedded>:11:146745)
    at /packages/remote-edit/lib/main.coffee:3:20)
    at /packages/remote-edit/lib/main.coffee:1:1)
    at /packages/remote-edit/lib/main.coffee:1:1)
    at Module.get_Module._compile (/usr/share/atom/resources/app/static/<embedded>:11:147429)
    at Object.value [as .coffee] (/usr/share/atom/resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:20:18)
    at customRequire (/usr/share/atom/resources/app/static/<embedded>:1:688157)
    at Package.requireMainModule (/usr/share/atom/resources/app/static/<embedded>:11:3304913)
    at measure (/usr/share/atom/resources/app/static/<embedded>:11:3291453)
    at Package.measure (/usr/share/atom/resources/app/static/<embedded>:11:3290285)
    at Package.load (/usr/share/atom/resources/app/static/<embedded>:11:3291026)
    at PackageManager.loadAvailablePackage (/usr/share/atom/resources/app/static/<embedded>:11:380859)
    at config.transact (/usr/share/atom/resources/app/static/<embedded>:11:379282)
    at Config.transact (/usr/share/atom/resources/app/static/<embedded>:11:331347)

Commands

Non-Core Packages

ftp-remote-edit 0.17.4 
remote-edit 1.9.0 

@doberbeatz
Copy link

The same issue for me, as well.

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.40.1 x64
Electron: 3.1.10
OS: Mac OS X 10.15
Thrown From: remote-edit package 1.9.0

Stack Trace

Failed to load the remote-edit package

At The "path" argument must be of type string. Received type undefined

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at assertPath (path.js:39:11)
    at Object.resolve (path.js:1090:7)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:7:36)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147429)
    at Object.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146745)
    at /packages/remote-edit/lib/main.coffee:3:20)
    at /packages/remote-edit/lib/main.coffee:1:1)
    at /packages/remote-edit/lib/main.coffee:1:1)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147429)
    at Object.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:20:18)
    at customRequire (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:688158)
    at Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3307234)
    at measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3293774)
    at Package.measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3292606)
    at Package.load (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3293347)
    at PackageManager.loadAvailablePackage (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:380859)
    at PackageManager.loadPackage (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:379587)
    at PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:382159)
    at /Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:937303
    at r (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:931909)
    at n (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1128972)
    at e.bufferStream (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1129060)
    at Socket.e.on (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1127728)
    at Socket.emit (events.js:187:15)
    at Pipe._handle.close [as _onclose] (net.js:596:12)

Commands

     -6:08.0 project-manager:list-projects (atom-pane.pane.active)
     -6:05.5.0 editor:consolidate-selections (input.hidden-input)
     -6:05.5.0 core:cancel (input.hidden-input)
     -5:41.6.0 command-palette:toggle (atom-pane.pane.active)
     -5:36.4.0 core:select-all (input.hidden-input)
     -5:30.5.0 editor:delete-to-beginning-of-line (input.hidden-input)
 13x -5:29 core:backspace (input.hidden-input)
     -5:15.9.0 editor:consolidate-selections (input.hidden-input)
     -5:15.9.0 core:cancel (input.hidden-input)
     -4:41.9.0 core:confirm (input.hidden-input)
     -1:16.4.0 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)

Non-Core Packages

atom-file-icons 0.7.1 
atom-material-syntax 1.0.8 
hyperclick 0.1.5 
intentions 1.1.5 
php-integrator-annotations 1.2.0 
php-integrator-autocomplete-plus 1.6.2 
php-integrator-call-tips-legacy-php56 1.2.3 
php-integrator-linter-legacy-php56 1.3.1 
php-integrator-navigation 1.2.1 
php-integrator-refactoring 1.4.1 
php-integrator-tooltips-legacy-php56 1.1.6 
project-manager 3.3.8 
remote-edit 1.9.0 

@pokapow
Copy link

pokapow commented Nov 24, 2019

Same issue here on linux mint 19.2

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.41.0 x64
Electron: 4.2.7
OS: Linux Mint
Thrown From: remote-edit package 1.9.0

Stack Trace

Failed to load the remote-edit package

At The "path" argument must be of type string. Received type undefined

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at assertPath (path.js:39:11)
    at Object.resolve (path.js:1088:7)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:7:36)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at Module.get_Module._compile (/usr/share/atom/resources/app/static/<embedded>:11:147429)
    at Object.value [as .coffee] (/usr/share/atom/resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/usr/share/atom/resources/app/static/<embedded>:11:146745)
    at /packages/remote-edit/lib/main.coffee:3:20)
    at /packages/remote-edit/lib/main.coffee:1:1)
    at /packages/remote-edit/lib/main.coffee:1:1)
    at Module.get_Module._compile (/usr/share/atom/resources/app/static/<embedded>:11:147429)
    at Object.value [as .coffee] (/usr/share/atom/resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:20:18)
    at customRequire (/usr/share/atom/resources/app/static/<embedded>:1:688211)
    at Package.requireMainModule (/usr/share/atom/resources/app/static/<embedded>:11:3218243)
    at measure (/usr/share/atom/resources/app/static/<embedded>:11:3204783)
    at Package.measure (/usr/share/atom/resources/app/static/<embedded>:11:3203615)
    at Package.load (/usr/share/atom/resources/app/static/<embedded>:11:3204356)
    at PackageManager.loadAvailablePackage (/usr/share/atom/resources/app/static/<embedded>:11:381128)
    at PackageManager.loadPackage (/usr/share/atom/resources/app/static/<embedded>:11:379856)
    at PackageManager.activatePackage (/usr/share/atom/resources/app/static/<embedded>:11:382428)
    at /usr/share/atom/resources/app/static/<embedded>:11:940004
    at r (/usr/share/atom/resources/app/static/<embedded>:11:934610)
    at n (/usr/share/atom/resources/app/static/<embedded>:14:1128169)
    at t.bufferStream (/usr/share/atom/resources/app/static/<embedded>:14:1128323)
    at Socket.e.on (/usr/share/atom/resources/app/static/<embedded>:14:1126925)
    at Socket.emit (events.js:187:15)
    at Pipe._handle.close (net.js:606:12)

Commands

     -5:08.3.0 core:confirm (input.hidden-input)
  2x -5:02.8.0 core:paste (input.hidden-input)
  2x -4:56.7.0 core:save (input.hidden-input)
     -4:54.2.0 find-and-replace:show (input.hidden-input)
     -4:53.8.0 core:confirm (input.hidden-input)
     -4:52 find-and-replace:show (input.hidden-input)
     -4:51.7.0 core:confirm (input.hidden-input)
     -4:41.1.0 core:save (input.hidden-input)
     -3:39.3.0 github:commit (input.hidden-input)
     -3:28.2.0 core:save (input.hidden-input)
     -2:56.6.0 settings-view:open (input.hidden-input)
     -2:50.8.0 core:cancel (div.panels-item)
     -2:48.1.0 core:close (div.panels-item)
     -2:44.3.0 core:undo (input.hidden-input)
     -2:11.2.0 settings-view:open (input.hidden-input)
     -2:05.0 core:paste (input.hidden-input)

Non-Core Packages

french-menu 0.2.2 
ide-bash 1.0.11 
platformio-ide-terminal 2.10.0 
remote-edit 1.9.0 

@sittingbool
Copy link

sittingbool commented Dec 7, 2019

Also having the issue on freshly installed Atom on latest MacOS. Will this be fixed? Is there a workaround?????

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.41.0 x64
Electron: 4.2.7
OS: Mac OS X 10.15.1
Thrown From: remote-edit package 1.9.0

Stack Trace

Failed to load the remote-edit package

At The "path" argument must be of type string. Received type undefined

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at assertPath (path.js:39:11)
    at Object.resolve (path.js:1088:7)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:7:36)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147429)
    at Object.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146745)
    at /packages/remote-edit/lib/main.coffee:3:20)
    at /packages/remote-edit/lib/main.coffee:1:1)
    at /packages/remote-edit/lib/main.coffee:1:1)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147429)
    at Object.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:20:18)
    at customRequire (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:688212)
    at Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3220564)
    at measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3207104)
    at Package.measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3205936)
    at Package.load (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3206677)
    at PackageManager.loadAvailablePackage (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:381128)
    at PackageManager.loadPackage (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:379856)
    at PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:382428)
    at /Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:940004
    at r (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:934610)
    at n (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1128169)
    at e.bufferStream (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1128257)
    at Socket.e.on (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1126925)
    at Socket.emit (events.js:187:15)
    at Pipe._handle.close (net.js:606:12)

Commands

     -3:24.3.0 core:paste (input.hidden-input)
     -3:20 core:select-all (input.hidden-input)
     -3:19.6.0 core:backspace (input.hidden-input)
     -3:07.5.0 core:paste (input.hidden-input)

Non-Core Packages

remote-edit 1.9.0 

@rahulsoni43
Copy link

Same issue.
remote-edit 1.9.0

@antoine-182
Copy link

Same error as well on unix

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.42.0 x64
Electron: 4.2.7
OS: Ubuntu 18.04.2
Thrown From: remote-edit package 1.9.0

Stack Trace

Failed to load the remote-edit package

At The "path" argument must be of type string. Received type undefined

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at assertPath (path.js:39:11)
    at Object.resolve (path.js:1088:7)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:7:36)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at /packages/remote-edit/lib/model/remote-edit-editor.coffee:1:1)
    at Module.get_Module._compile (/snap/atom/245/usr/share/atom/resources/app/static/<embedded>:11:147429)
    at Object.value [as .coffee] (/snap/atom/245/usr/share/atom/resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/snap/atom/245/usr/share/atom/resources/app/static/<embedded>:11:146745)
    at /packages/remote-edit/lib/main.coffee:3:20)
    at /packages/remote-edit/lib/main.coffee:1:1)
    at /packages/remote-edit/lib/main.coffee:1:1)
    at Module.get_Module._compile (/snap/atom/245/usr/share/atom/resources/app/static/<embedded>:11:147429)
    at Object.value [as .coffee] (/snap/atom/245/usr/share/atom/resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:20:18)
    at customRequire (/snap/atom/245/usr/share/atom/resources/app/static/<embedded>:1:689402)
    at Package.requireMainModule (/snap/atom/245/usr/share/atom/resources/app/static/<embedded>:11:3220707)
    at measure (/snap/atom/245/usr/share/atom/resources/app/static/<embedded>:11:3207247)
    at Package.measure (/snap/atom/245/usr/share/atom/resources/app/static/<embedded>:11:3206079)
    at Package.load (/snap/atom/245/usr/share/atom/resources/app/static/<embedded>:11:3206820)
    at PackageManager.loadAvailablePackage (/snap/atom/245/usr/share/atom/resources/app/static/<embedded>:11:381121)
    at PackageManager.loadPackage (/snap/atom/245/usr/share/atom/resources/app/static/<embedded>:11:379849)
    at PackageManager.activatePackage (/snap/atom/245/usr/share/atom/resources/app/static/<embedded>:11:382421)
    at /snap/atom/245/usr/share/atom/resources/app/static/<embedded>:11:939855
    at r (/snap/atom/245/usr/share/atom/resources/app/static/<embedded>:11:934461)
    at n (/snap/atom/245/usr/share/atom/resources/app/static/<embedded>:14:1125002)
    at t.bufferStream (/snap/atom/245/usr/share/atom/resources/app/static/<embedded>:14:1125156)
    at Socket.e.on (/snap/atom/245/usr/share/atom/resources/app/static/<embedded>:14:1123758)
    at Socket.emit (events.js:187:15)
    at Pipe._handle.close (net.js:606:12)

Commands

     -7:03.7.0 welcome:show (atom-pane.pane.active)
  2x -6:49.8.0 core:backspace (input.hidden-input)
     -6:23 core:select-all (input.hidden-input)
     -5:52 fuzzy-finder:toggle-file-finder (div.package-detail)
     -5:51.2.0 editor:consolidate-selections (input.hidden-input)
     -5:51.2.0 core:cancel (input.hidden-input)
     -5:42.8.0 atom-commander:toggle-focus (ul.list-inline.tab-bar.inset-panel)
  4x -1:44.9.0 core:backspace (input.hidden-input)
     -1:33.4.0 editor:consolidate-selections (input.hidden-input)
     -1:33.4.0 core:cancel (input.hidden-input)
  2x -1:32.4.0 core:select-all (input.hidden-input)
     -1:23.6.0 core:backspace (input.hidden-input)
     -1:22.4.0 core:confirm (input.hidden-input)

Non-Core Packages

atom-commander 0.12.0 
atom-python-run 0.9.7 
ide-fortran 0.4.0 
language-fortran 2.1.8 
markdown-preview-plus 3.8.1 
pdf-view 0.71.0 
rabbitvcs-svn 0.6.0 
remote-edit 1.9.0 
split-diff 1.6.0 
Sublime-Style-Column-Selection 1.7.5 
svn 0.0.14 

@tgunr
Copy link

tgunr commented Dec 21, 2019

Same here, but looks like it is not going to get fixed :(

@kellenmurphy
Copy link

There's a PR #244 that fixes this issue.

@martijnschut
Copy link

Fix works

@marnen
Copy link

marnen commented Jan 13, 2020

@sveale @duxet Can this get merged in at some point? Can I help?

@nishant-k1
Copy link

I ignored it.

@TheRayFitzgerald
Copy link

FIX February 2020

Open the package manager in Atom

  1. Go to remote-edit in Atom Package Manager
  2. Click 'View Code' button
  3. Navigate to lib/model/remote-edit-editor.coffee
  4. Simply edit the second line of code:
    **Old: **resourcePath = atom.config.resourcePath
    **New: **resourcePath = atom.getLoadSettings().resourcePath
  5. Disable remote-edit, Enable it again
    This should fix remote-edit

@marnen
Copy link

marnen commented Feb 13, 2020

@TheRayFitzgerald Well, sure, we can implement #244 ourselves, but it would be better to have it merged...

@marcelloinfoweb
Copy link

marcelloinfoweb commented Jun 22, 2020

FIX February 2020

Open the package manager in Atom

  1. Go to remote-edit in Atom Package Manager
  2. Click 'View Code' button
  3. Navigate to lib/model/remote-edit-editor.coffee
  4. Simply edit the second line of code:
    **Old: **resourcePath = atom.config.resourcePath
    **New: **resourcePath = atom.getLoadSettings().resourcePath
  5. Disable remote-edit, Enable it again
    This should fix remote-edit

Thank You!!!

@ballerburg9005
Copy link

So remote-edit is dead? What is the new package?

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