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
### Prerequisites
* [ ] Put an X between the brackets on this line if you have done all of the following:
* Reproduced the problem in Safe Mode:
* Followed all applicable steps in the debugging guide:
* Checked the FAQs on the message board for common solutions:
* Checked that your issue isn't already filed:
* Checked that there is not already an Atom package that provides the described functionality:
### Description
### Steps to Reproduce
1.
2.
3.
**Expected behavior:**
**Actual behavior:**
### Versions
**Atom**: 1.63.1 x64
**Electron**: 11.5.0
**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 Failed to execute 'define' on 'CustomElementRegistry': parameter 2 is not of type 'Function'.
TypeError: Failed to execute 'define' on 'CustomElementRegistry': parameter 2 is not of type 'Function'.
at /packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:87239)
at e.openTag (/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:91111)
at e.tag (/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:90757)
at /packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:88518)
at Function.content (/packages/script/lib/header-view.js:7:17)
at /packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:87525)
at Function.n.buildHtml (/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:89203)
at /packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:87483)
at /packages/script/lib/header-view.js:5:32)
at /packages/script/lib/script-view.js:15:24)
at Object.activate (/packages/script/lib/script.js:74:16)
at Package.activateNow (~/AppData/Local/atom/app-1.63.1/resources/app/static/:11:3163719)
at ~/AppData/Local/atom/app-1.63.1/resources/app/static/:14:2607
at Function.simpleDispatch (~/AppData/Local/atom/app-1.63.1/resources/app/static/:11:1185501)
at Emitter.emit (~/AppData/Local/atom/app-1.63.1/resources/app/static/:11:1186942)
at PackageManager.triggerDeferredActivationHooks (~/AppData/Local/atom/app-1.63.1/resources/app/static/:11:386441)
at ~/AppData/Local/atom/app-1.63.1/resources/app/static/:11:385192
at TextEditorRegistry.updateAndMonitorEditorSettings (~/AppData/Local/atom/app-1.63.1/resources/app/static/:11:516295)
```
### Commands
```
```
### Non-Core Packages
```
atom-live-server 2.3.0
autosave-onchange 1.5.1
emmet 2.4.3
pigments 0.40.6
script 3.32.2
```
### Additional Information
Contributor guide
Assessment
This issue has not been assessed yet.