atom-community / atom-community/atom-script
Failed to activate the script package
- 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 Pro
**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\yeesu\.atom\packages\script\node_modules\entities\lib\maps\entities.json: Unexpected end of JSON input
SyntaxError: C:\Users\yeesu\.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
```
-2:09.4.0 application:add-project-folder (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
```
### Non-Core Packages
```
script 3.32.2
```
Contributor guide
Assessment
This issue has not been assessed yet.