Coder Social home page Coder Social logo

Comments (10)

geeeeeeeeek avatar geeeeeeeeek commented on August 29, 2024 1

It works after npm install.

from activate-power-mode.

alpaca-coco avatar alpaca-coco commented on August 29, 2024

I also have this problem. You have to intsall atom-material-ui theme to solution the problem.
中文:我也遇到了这个问题。你应该安装atom-material-ui这个主题来解决上面的问题

from activate-power-mode.

geeeeeeeeek avatar geeeeeeeeek commented on August 29, 2024

我现在用的主题就是atom-material-ui。

from activate-power-mode.

yoyojacky avatar yoyojacky commented on August 29, 2024

i had installed atom-material-ui theme, but problem still here...

from activate-power-mode.

yoyojacky avatar yoyojacky commented on August 29, 2024

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.2.4
System: Mac OS X 10.11.1
Thrown From: activate-power-mode package, v0.3.2

Stack Trace

Uncaught TypeError: Cannot read property 'clearRect' of undefined

At /Users/yoyojacky/.atom/packages/activate-power-mode/lib/activate-power-mode.coffee:101

TypeError: Cannot read property 'clearRect' of undefined
    at Object.module.exports.ActivatePowerMode.drawParticles (/Users/yoyojacky/.atom/packages/activate-power-mode/lib/activate-power-mode.coffee:101:13)

Commands

  8x -9:16.2.0 activate-power-mode:toggle (atom-text-editor.editor.vim-mode.vim-mode-plus.is-focused.insert-mode)
     -8:58.6.0 settings-view:open (atom-text-editor.editor.vim-mode.vim-mode-plus.is-focused.insert-mode)
 46x -8:58.5.0 blur (atom-text-editor.editor.vim-mode.vim-mode-plus.is-focused.insert-mode)
     -3:58.5.0 find-and-replace:show-replace (atom-text-editor.editor.mini.is-focused)
     -3:58.2.0 blur (atom-text-editor.editor.mini.is-focused)
     -3:56 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -3:56 core:cancel (atom-text-editor.editor.mini.is-focused)
 14x -3:56 blur (atom-text-editor.editor.mini.is-focused)
  2x -1:54.8.0 editor:toggle-line-comments (atom-pane.pane.active)
  5x -1:46.6.0 tree-view:toggle (atom-pane.pane.active)
  3x -1:33.1.0 core:backspace (atom-pane.pane.active)
     -1:28.5.0 editor:select-line (atom-pane.pane.active)
 11x -1:27.2.0 symbols-view:toggle-file-symbols (atom-pane.pane.active)
  3x -1:18.5.0 core:cancel (atom-pane.pane.active)
     -1:16.4.0 settings-view:open (atom-pane.pane.active)
 18x -1:16.1.0 blur (atom-pane.pane.active)

Config

{
  "core": {
    "themes": [
      "atom-material-ui",
      "atom-material-syntax"
    ]
  }
}

Installed Packages

# User
Sass-Syntax-Highlight, v0.1.1
activate-power-mode, v0.3.2
atom-cisco-syntax, v0.1.0
atom-material-syntax, v0.2.6
atom-material-ui, v0.8.0
autocomplete-angular-material, v0.4.0
color-picker, v2.0.13
minimap, v4.16.2
pigments, v0.19.1
vim-mode, v0.63.0
vim-mode-plus, v0.6.1

# Dev
No dev packages

from activate-power-mode.

ycczkl avatar ycczkl commented on August 29, 2024

Same error after installed atom-material-ui

from activate-power-mode.

heiyhia avatar heiyhia commented on August 29, 2024

Same error after toggle power mode(without installed atom-material-ui)

from activate-power-mode.

llaolaol avatar llaolaol commented on August 29, 2024

Same error after installed atom-material-ui

from activate-power-mode.

helloyou2012 avatar helloyou2012 commented on August 29, 2024

Same error after installed atom-material-ui. But I reinstall activate-power-mode, it is OK.

from activate-power-mode.

Crazytinal avatar Crazytinal commented on August 29, 2024

I've found that if you wanna toggle activate-atom-mode package in “setting”, it fails with
TypeError: Cannot read property 'clearRect' of undefined...
and TypeError: Cannot read property 'classList' of undefined
but if you toggle it in a new file(ctrl+n), it works.... and I've install this package by "npm install" manually cuz somehow I always fail to apm install it.

from activate-power-mode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.