atom-community / atom-community/atom-script

Uncaught TypeError: message.text is not a function

Open
#2,564 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

[Enter steps to reproduce:]

1. ...
2. ...

**Atom**: 1.58.0 x64
**Electron**: 9.4.4
**OS**: Unknown Windows version
**Thrown From**: [script](https://github.com/atom-ide-community/atom-script) package 3.32.2

### Stack Trace

Uncaught TypeError: message.text is not a function

```
At C:\Users\HP\.atom\packages\script\lib\script-view.js:54

TypeError: message.text is not a function
at ScriptView.showInTab (/packages/script/lib/script-view.js:54:25)
at HTMLDivElement.dispatch (/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:39250)
at HTMLDivElement.m.handle (/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:37245)
```

### Commands

```
-3:05.7.0 script:run (input.hidden-input)
8x -2:30.8.0 core:backspace (input.hidden-input)
-2:10.1.0 snippets:expand (atom-text-editor.editor.is-focused.autocomplete-active)
-1:18.5.0 core:backspace (input.hidden-input)
```

### Non-Core Packages

```
busy 0.7.0
Hydrogen 2.16.3
ide-java 0.9.1
java-classpath-registry 0.4.0
script 3.32.2
```

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.