Uncaught TypeError: Cannot read property 'replace' of undefined
See original GitHub issue[Enter steps to reproduce below:]
- …
- …
Atom Version: 1.2.1 System: Mac OS X 10.10.3 Thrown From: Remote-FTP package, v0.7.10
Stack Trace
Uncaught TypeError: Cannot read property ‘replace’ of undefined
At /Users/sofiane/.atom/packages/Remote-FTP/lib/client.js:82
TypeError: Cannot read property 'replace' of undefined
at /Users/sofiane/.atom/packages/Remote-FTP/lib/client.js:82:44
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)
Commands
-0:45.9.0 application:add-project-folder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-0:32.9.0 remote-ftp:create-sftp-config (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-0:23.4.0 core:paste (atom-text-editor.editor.is-focused)
2x -0:20.4.0 core:save (atom-text-editor.editor.is-focused)
-0:00.7.0 remote-ftp:connect (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
Config
{
"core": {}
}
Installed Packages
# User
Remote-FTP, v0.7.10
# Dev
No dev packages
Issue Analytics
- State:
- Created 8 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
[SOLVED] Cannot Read Property 'replace' of Undefined in JS
To fix the “cannot read property 'replace' of undefined” error, perform an undefined check on the variable before calling the replace() method ......
Read more >Cannot read property 'replace' of Undefined in JS - Isotropic
In the above example, the first string was not initialized so the error showed up. The second string worked fine at first because...
Read more >cannot read property 'replace' of undefined In Grid - Stack ...
I think jQuery cannot find the element. First of all find the element var rowTemplate= document.getElementsByName("rowTemplate");.
Read more >TypeError: Cannot read property 'replace' of undefined
So I tried to learn how to do this on my own by taking two video courses about node and cheerio on udemy...
Read more >Cannot read property 'replace' of undefined" : r/HTML - Reddit
"Uncaught TypeError: Cannot read property 'replace' of undefined" ... Any idea on what I should do to fix this issue? ... In your...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m getting the same issue, my remote field is set to:
“remote_path”: “/”,
Happened to me today, Remote FTP can see 4 files within a folder (receipt.php, receipt2.php, undefined, undefined). The only actual file with the folder is receipt.php, I cannot understand where the others come from (they’re not on the server, only Remote FTP sees them).
The error is triggered when I try to download these non-existent files