question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uncaught TypeError: Cannot read property 'resolve' of undefined

See original GitHub issue

[Enter steps to reproduce below:]

Atom Version: 1.0.3 System: Mac OS X 10.10.4 Thrown From: Remote-FTP package, v0.7.1

Stack Trace

Uncaught TypeError: Cannot read property ‘resolve’ of undefined

At /Users/rylee/.atom/packages/Remote-FTP/lib/client.js:261

TypeError: Cannot read property 'resolve' of undefined
  at Client.module.exports.Client.toLocal (/Users/rylee/.atom/packages/Remote-FTP/lib/client.js:261:42)
  at ConnectorFTP.module.exports.ConnectorFTP.get (/Users/rylee/.atom/packages/Remote-FTP/lib/connectors/ftp.js:161:24)
  at Client.<anonymous> (/Users/rylee/.atom/packages/Remote-FTP/lib/client.js:340:20)
  at Client.module.exports.Client._next (/Users/rylee/.atom/packages/Remote-FTP/lib/client.js:274:21)
  at Client.module.exports.Client._enqueue (/Users/rylee/.atom/packages/Remote-FTP/lib/client.js:285:9)
  at Client.<anonymous> (/Users/rylee/.atom/packages/Remote-FTP/lib/client.js:339:9)
  at Client.module.exports.Client.onceConnected (/Users/rylee/.atom/packages/Remote-FTP/lib/client.js:98:14)
  at Client.module.exports.Client.download (/Users/rylee/.atom/packages/Remote-FTP/lib/client.js:338:8)
  at File.module.exports.File.open (/Users/rylee/.atom/packages/Remote-FTP/lib/file.js:59:10)
  at FileView.module.exports.FileView.open (/Users/rylee/.atom/packages/Remote-FTP/lib/views/file-view.js:82:13)
  at space-pen-li.<anonymous> (/Users/rylee/.atom/packages/Remote-FTP/lib/views/file-view.js:71:9)
  at space-pen-li.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
  at space-pen-li.elemData.handle (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)

Commands

     -4:41 core:backspace (atom-text-editor.editor.is-focused)
     -4:40.7.0 core:move-left (atom-text-editor.editor.is-focused)
  2x -4:39.7.0 core:move-right (atom-text-editor.editor.is-focused)
 10x -4:37.6.0 core:move-left (atom-text-editor.editor.is-focused)
     -4:35.6.0 core:move-right (atom-text-editor.editor.is-focused)
     -4:35.4.0 core:backspace (atom-text-editor.editor.is-focused)
     -4:34.9.0 core:save (atom-text-editor.editor.is-focused)
     -4:30.1.0 remote-ftp:connect (atom-text-editor.editor.is-focused)
  3x -4:13.7.0 core:copy (atom-text-editor.editor.is-focused)
     -3:28.7.0 core:save (atom-text-editor.editor.is-focused)
     -3:19.9.0 remote-ftp:connect (atom-text-editor.editor.is-focused)
     -1:25.2.0 remote-ftp:create-ftp-config (atom-text-editor.editor.is-focused)
     -0:52 remote-ftp:connect (atom-text-editor.editor.is-focused)
  2x -0:34.9.0 core:undo (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-ax-monokai-syntax.theme-atom-material-ui)
     -0:33.3.0 core:save (atom-text-editor.editor.is-focused)
     -0:04.8.0 tree-view:toggle (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)

Config

{
  "core": {
    "themes": [
      "atom-material-ui",
      "ax-monokai-syntax"
    ]
  }
}

Installed Packages

# User
Remote-FTP, v0.7.1
atom-beautify, v0.28.8
atom-material-ui, v0.5.9
ax-monokai-syntax, v0.1.0
node-on-fire, v0.1.0
terminal-panel, v1.14.1

# Dev
No dev packages

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
FocuzJScommented, Dec 1, 2016

You guys did not Add a Project Folder first.

0reactions
iceteecommented, Sep 19, 2017

@amaradrys Maybe no opened project folder.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node error Cannot read property 'resolve' of undefined
I got into this situation with an old version of the n node version switcher (~v2), having switched onto Node v12.
Read more >
Cannot read property 'resolve' of undefined #1941 - GitHub
Same issue with node 10.16.0 to 12.4.0 on MacOS(installed node and npm through n latest ). Works fine with 10.6.0 though!
Read more >
Resolving the JavaScript Promise Error "TypeError - Pluralsight
TypeError - Cannot read property 'then' of undefined is thrown when the caller is expecting a Promise to be returned and instead receives ......
Read more >
nodeJS issue : "Cannot read property 'resolve' of undefined"
Hello, I try to import a nodejs project using express into my cPanel domain, but i've got issues when I try to run...
Read more >
npm install cannot read properties of null (reading 'children')
The error message means that npm is trying to read the version property of the folder's package.json file but doesn't find the file....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found