atom-community / atom-community/atom-script

Failed to activate the script package

Open
#2,600 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**: Microsoft Windows 10 Home Single Language
**Thrown From**: [script](https://github.com/atom-ide-community/atom-script) package 3.32.2

### Stack Trace

Failed to activate the script package

```
At C:\Users\dell\.atom\packages\script\node_modules\entities\lib\maps\entities.json: Unexpected end of JSON input

SyntaxError: C:\Users\dell\.atom\packages\script\node_modules\entities\lib\maps\entities.json: Unexpected end of JSON input
at JSON.parse ()
at Object.Module._extensions..json (internal/modules/cjs/loader.js:1018:27)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (/app.asar/static/index.js:72:46)
at require (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:149207)
at /packages/script/node_modules/entities/lib/decode.js:7:39)
at /packages/script/node_modules/entities/lib/decode.js:55:3)
at Module.get_Module._compile (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:149891)
at Object.value [as .js] (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:153485)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (/app.asar/static/index.js:72:46)
at require (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:149207)
at /packages/script/node_modules/entities/lib/index.js:4:16)
at /packages/script/node_modules/entities/lib/index.js:59:3)
at Module.get_Module._compile (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:149891)
at Object.value [as .js] (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:153485)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (/app.asar/static/index.js:72:46)
at require (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:149207)
at /packages/script/node_modules/ansi-to-html/lib/ansi_to_html.js:15:16)
at /packages/script/node_modules/ansi-to-html/lib/ansi_to_html.js:617:3)
at Module.get_Module._compile (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:149891)
at Object.value [as .js] (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:153485)
at Module.load (internal/modules/cjs/loader.js:815:32)
```

### Commands

```
```

### Non-Core Packages

```
atom-clock 0.1.18
Hydrogen 2.16.3
hydrogen-run 0.1.15
linter-matlab 1.3.0
open-in-external-app 0.1.0
script 3.32.2
server-script 0.1.3
```

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.