Uncaught TypeError: Cannot read property 'message' of undefined
See original GitHub issuePrerequisites
- [X ] Put an X between the brackets on this line if you have done all of the following:
- Checked that your issue isn’t already filed: https://github.com/icetee/remote-ftp/issues
Description
[Description of the issue]
Steps to Reproduce
- [Edit Any File]
- [Save]
Expected behavior: [The file to be saved to my remote server]
Actual behavior: [Causes error and timesout]
Reproduces how often: [All the time]
Versions
You can get this information from copy and pasting the output of atom --version
from the command line. Also, please include the OS and what version of the OS you’re running.
Additional Information
[Enter steps to reproduce:]
- …
- …
Atom: 1.21.2 x64 Electron: 1.6.15 OS: Microsoft Windows 10 Home Thrown From: Remote-FTP package 1.3.1
Stack Trace
Uncaught TypeError: Cannot read property ‘message’ of undefined
At C:\Users\lucia\.atom\packages\Remote-FTP\lib\connectors\sftp.js:406
TypeError: Cannot read property 'message' of undefined
at /packages/Remote-FTP/lib/connectors/sftp.js:406:33)
at emitOne (events.js:101:20)
at WriteStream.emit (events.js:188:7)
at /packages/Remote-FTP/node_modules/ssh2-streams/lib/sftp.js:2853:12
at SFTPStream._transform (/packages/Remote-FTP/node_modules/ssh2-streams/lib/sftp.js:415:17)
at SFTPStream.Transform._read (_stream_transform.js:167:10)
at SFTPStream._read (/packages/Remote-FTP/node_modules/ssh2-streams/lib/sftp.js:181:15)
at SFTPStream.Transform._write (_stream_transform.js:155:12)
at doWrite (_stream_writable.js:332:12)
at writeOrBuffer (_stream_writable.js:318:5)
at SFTPStream.Writable.write (_stream_writable.js:245:11)
at Channel.ondata (_stream_readable.js:555:20)
at emitOne (events.js:96:13)
at Channel.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Channel.Readable.push (_stream_readable.js:134:10)
at /packages/Remote-FTP/node_modules/ssh2/lib/Channel.js:166:15)
at emitOne (events.js:96:13)
at SSH2Stream.emit (events.js:188:7)
at parsePacket (/packages/Remote-FTP/node_modules/ssh2-streams/lib/ssh.js:3444:10)
at SSH2Stream._transform (/packages/Remote-FTP/node_modules/ssh2-streams/lib/ssh.js:669:13)
at SSH2Stream.Transform._read (_stream_transform.js:167:10)
at SSH2Stream._read (/packages/Remote-FTP/node_modules/ssh2-streams/lib/ssh.js:251:15)
at SSH2Stream.Transform._write (_stream_transform.js:155:12)
at doWrite (_stream_writable.js:332:12)
at writeOrBuffer (_stream_writable.js:318:5)
at SSH2Stream.Writable.write (_stream_writable.js:245:11)
at Socket.ondata (_stream_readable.js:555:20)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
at TCP.onread (net.js:551:20)
Commands
-1:20 command-palette:toggle (atom-pane.pane)
49x -1:11 core:backspace (input.hidden-input)
-0:08.2.0 core:save (input.hidden-input)
Non-Core Packages
Remote-FTP 1.3.1
Issue Analytics
- State:
- Created 6 years ago
- Comments:17 (1 by maintainers)
Top Results From Across the Web
Cannot read property 'message' of undefined - Stack Overflow
The error is because responseJSON isn't a standard property or one that jQuery makes available for XMLHttpRequest s.
Read more >Uncaught TypeError: Cannot read property of undefined In
JavaScript TypeError is thrown when an operand or argument passed to a function is incompatible with the type expected by that operator or...
Read more >Uncaught TypeError : Cannot read properties of undefined
The solution to TypeError: Cannot read properties of undefined ... The root cause of the error is that the declared variable doesn't have...
Read more >[SOLVED] Cannot Read Property of Undefined in JavaScript
The “cannot read property of undefined” error occurs when you attempt to access a property or method of a variable that is undefined...
Read more >Uncaught TypeError: Cannot read property 'message' of ...
Uncaught TypeError : Cannot read property 'message' of undefined ... Already disabled all Plugins and switched to another theme. ... Hello @ psychosis51!...
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
Also received this error. After some digging the message that was return from the server was permission denied, that was causing this bug.
Hi guys, I’m solve this issue by giving permission on server side, Good luck