Skip to content

Uncaught TypeError: Cannot read property 'statusCode' of undefined #49

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

Open
Snow-Okami opened this issue Nov 5, 2017 · 0 comments
Open

Comments

@Snow-Okami
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.21.2 x64
Electron: 1.6.15
OS: Microsoft Windows 10 Home
Thrown From: translator-plus-dictionary package 1.1.1

Stack Trace

Uncaught TypeError: Cannot read property 'statusCode' of undefined

At C:\Users\Black\.atom\packages\translator-plus-dictionary\lib\microsoft-translator-client.js:83

TypeError: Cannot read property 'statusCode' of undefined
    at Request._callback (/packages/translator-plus-dictionary/lib/microsoft-translator-client.js:83:43)
    at self.callback (/packages/translator-plus-dictionary/node_modules/request/request.js:186:22)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at Request.onRequestError (/packages/translator-plus-dictionary/node_modules/request/request.js:878:8)
    at emitOne (events.js:96:13)
    at ClientRequest.emit (events.js:188:7)
    at TLSSocket.socketErrorListener (_http_client.js:309:9)
    at emitOne (events.js:96:13)
    at TLSSocket.emit (events.js:188:7)
    at connectErrorNT (net.js:1025:8)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Commands

     -2:24.4.0 core:confirm (input.hidden-input)
  3x -2:22.3.0 core:backspace (input.hidden-input)
     -2:20.7.0 core:confirm (input.hidden-input)
  3x -2:18.4.0 core:backspace (input.hidden-input)
  2x -2:12.5.0 core:paste (input.hidden-input)
     -0:56.6.0 fuzzy-finder:toggle-file-finder (input.hidden-input)
     -0:54.6.0 editor:consolidate-selections (input.hidden-input)
     -0:54.6.0 core:cancel (input.hidden-input)
     -0:44.9.0 translator-plus-dictionary:translate (span.syntax--text.syntax--html.syntax--basic)
     -0:18.9.0 editor:newline (select.form-control.to)
     -0:17.3.0 core:undo (select.form-control.to)
     -0:13.9.0 fuzzy-finder:toggle-file-finder (select.form-control.to)
     -0:13 editor:consolidate-selections (input.hidden-input)
     -0:13 core:cancel (input.hidden-input)
     -0:07.8.0 core:paste (select.form-control.to)
     -0:06.3.0 core:undo (select.form-control.to)

Non-Core Packages

translator-plus-dictionary 1.1.1 
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