Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to activate the shebang-set-grammar package #8

Open
fknauss opened this issue Jan 16, 2022 · 0 comments
Open

Failed to activate the shebang-set-grammar package #8

fknauss opened this issue Jan 16, 2022 · 0 comments

Comments

@fknauss
Copy link

fknauss commented Jan 16, 2022

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.52.0 x64
Electron: 6.1.12
OS: Debian GNU/Linux
Thrown From: shebang-set-grammar package 0.8.0

Stack Trace

Failed to activate the shebang-set-grammar package

At this.grammar.onDidUpdate is not a function

TypeError: this.grammar.onDidUpdate is not a function
    at new TextMateLanguageMode (/usr/share/atom/resources/app/static/<embedded>:11:550604)
    at GrammarRegistry.languageModeForGrammarAndBuffer (/usr/share/atom/resources/app/static/<embedded>:11:356089)
    at TextEditor.setGrammar (/usr/share/atom/resources/app/static/<embedded>:11:43925)
    at Object.callback (/packages/shebang-set-grammar/lib/main.js:52:10)
    at Workspace.observeTextEditors (/usr/share/atom/resources/app/static/<embedded>:11:429088)
    at Object.activate (/packages/shebang-set-grammar/lib/main.js:14:19)
    at Package.activateNow (/usr/share/atom/resources/app/static/<embedded>:11:3185005)
    at /usr/share/atom/resources/app/static/<embedded>:11:3184417
    at Package.measure (/usr/share/atom/resources/app/static/<embedded>:11:3181995)
    at /usr/share/atom/resources/app/static/<embedded>:11:3184277
    at new Promise (<anonymous>)
    at Package.activate (/usr/share/atom/resources/app/static/<embedded>:11:3184220)
    at PackageManager.activatePackage (/usr/share/atom/resources/app/static/<embedded>:11:383220)
    at /usr/share/atom/resources/app/static/<embedded>:11:382836
    at Config.transactAsync (/usr/share/atom/resources/app/static/<embedded>:11:332389)
    at PackageManager.activatePackages (/usr/share/atom/resources/app/static/<embedded>:11:382786)
    at PackageManager.activate (/usr/share/atom/resources/app/static/<embedded>:11:382336)
    at /usr/share/atom/resources/app/static/<embedded>:1:717618
    at async Promise.all (index 0)
    at AtomEnvironment.startEditorWindow (/usr/share/atom/resources/app/static/<embedded>:1:718103)

Commands

Non-Core Packages

ide-haskell 2.7.0 
script-runner 2.6.0 
shebang-set-grammar 0.8.0 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant