Skip to content

Uncaught Error: Must pass a styleManager parameter when initializing a StylesElement #62

@vitalcode

Description

@vitalcode

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.7.3
System: Mac OS X 10.11.4
Thrown From: api-blueprint-preview package, v0.7.0

Stack Trace

Uncaught Error: Must pass a styleManager parameter when initializing a StylesElement

At /Users/vitaliy/Downloads/Atom.app/Contents/Resources/app.asar/src/styles-element.js:63

Error: Must pass a styleManager parameter when initializing a StylesElement
    at atom-styles.StylesElement.initialize (/Users/vitaliy/Downloads/Atom.app/Contents/Resources/app.asar/src/styles-element.js:63:15)
    at ApiBlueprintPreviewView.module.exports.ApiBlueprintPreviewView.getTextEditorStyles (/Users/vitaliy/.atom/packages/api-blueprint-preview/lib/api-blueprint-preview-view.coffee:198:22)
    at ApiBlueprintPreviewView.module.exports.ApiBlueprintPreviewView.getApiBlueprintPreviewCSS (/Users/vitaliy/.atom/packages/api-blueprint-preview/lib/api-blueprint-preview-view.coffee:216:16)
    at /Users/vitaliy/.atom/packages/api-blueprint-preview/lib/api-blueprint-preview-view.coffee:280:42
    at /Users/vitaliy/.atom/packages/api-blueprint-preview/lib/renderer.coffee:39:5
    at ChildProcess.exithandler (child_process.js:216:7)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:818:16)
    at Socket.<anonymous> (internal/child_process.js:319:11)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at Pipe._onclose (net.js:469:12)

Commands

     -6:27.5.0 core:copy (atom-text-editor.editor.is-focused)
     -6:25.2.0 core:paste (atom-text-editor.editor.is-focused)
  5x -6:16.6.0 core:backspace (atom-text-editor.editor.is-focused)
     -5:36.4.0 core:copy (atom-text-editor.editor.is-focused)
  3x -5:35.1.0 core:backspace (atom-text-editor.editor.is-focused)
  3x -5:28.5.0 core:paste (atom-text-editor.editor.is-focused)
     -4:49.3.0 core:save (atom-text-editor.editor.is-focused)
     -4:21.3.0 core:copy (atom-text-editor.editor.is-focused)
     -2:17.5.0 core:backspace (atom-text-editor.editor.is-focused)
  2x -2:01.7.0 core:save (atom-text-editor.editor.is-focused)
  2x -1:09.8.0 linter-api-blueprint:parse (div.api-blueprint-preview.native-key-bindings)
     -0:49.2.0 core:save (atom-text-editor.editor.is-focused)
  2x -0:33.7.0 core:backspace (atom-text-editor.editor.is-focused)
  2x -0:31.5.0 core:save (atom-text-editor.editor.is-focused)
     -0:08.9.0 tree-view:reveal-active-file (pre.)
     -0:06.4.0 core:save-as (pre.)

Config

{}

Installed Packages

# User
api-blueprint-preview, v0.7.0
language-api-blueprint, v1.0.2
linter-api-blueprint, v0.4.0

# Dev
No dev packages

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions