atom-community / atom-community/atom-script

Uncaught TypeError: Cannot read property 'length' of undefined

Open
#2,291 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
730
Forks
264
PR merge metrics
No merged PRs in 30d

Description

**Can someone help me please, I can't figure out the problem**

[Enter steps to reproduce:]

1. ...
2. ...

**Atom**: 1.52.0 x64
**Electron**: 6.1.12
**OS**: Unknown Windows version
**Thrown From**: [script](https://github.com/rgbkrk/atom-script) package 3.26.0

### Stack Trace

Uncaught TypeError: Cannot read property 'length' of undefined

```
At C:\Users\ricci\.atom\packages\script\lib\runtime.js:71

TypeError: Cannot read property 'length' of undefined
at Runtime.execute (/packages/script/lib/runtime.js:71:50)
at HTMLElement.scriptRunByLineNumber (/packages/script/lib/script.js:97:55)
at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.52.0/resources/app/static/:11:349963)
at CommandRegistry.dispatch (~/AppData/Local/atom/app-1.52.0/resources/app/static/:11:348438)
at AtomEnvironment.dispatchApplicationMenuCommand (~/AppData/Local/atom/app-1.52.0/resources/app/static/:1:765613)
at EventEmitter.t (~/AppData/Local/atom/app-1.52.0/resources/app/static/:1:773536)
at EventEmitter.emit (events.js:200:13)
at Object.onMessage (~/AppData/Local/atom/app-1.52.0/resources/electron.asar/renderer/init.js:42:16)
```

### Commands

```
-0:39.1.0 script:run-by-line-number (input.hidden-input)
```

### Non-Core Packages

```
atom-julia-run 1.0.5
kite 0.193.0
script 3.26.0
terminus 4.0.6
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.