JoelBesada/activate-power-mode

Uncaught Error: Cannot find module 'lodash.random'Require stack:- $ATOM_HOME/packages\activate-...

xihuanlei opened this issue · 0 comments

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.51.0 x64
Electron: 5.0.13
OS: Unknown Windows version
Thrown From: activate-power-mode package 2.7.0

Stack Trace

Uncaught Error: Cannot find module 'lodash.random'
Require stack:

  • C:\Users\HP.atom\packages\activate-power-mode\lib\effect\particles.coffee
  • C:\Users\HP.atom\packages\activate-power-mode\lib\plugin-manager.coffee
  • C:\Users\HP.atom\packages\activate-power-mode\lib\activate-power-mode.coffee
  • C:\Users\Username\atom\app-1.51.0\resources\app.asar\static\index.html
At internal/modules/cjs/loader.js:686

Error: Cannot find module 'lodash.random'
Require stack:
- C:\Users\HP\.atom\packages\activate-power-mode\lib\effect\particles.coffee
- C:\Users\HP\.atom\packages\activate-power-mode\lib\plugin-manager.coffee
- C:\Users\HP\.atom\packages\activate-power-mode\lib\activate-power-mode.coffee
- C:\Users\Username\atom\app-1.51.0\resources\app.asar\static\index.html
    at Module._resolveFilename (internal/modules/cjs/loader.js:683:15)
    at Module._resolveFilename (C:/Users/Username/atom/app-1.51.0/resources/electron.asar/common/reset-search-paths.js:43:12)
    at Function.get_Module._resolveFilename (C:/Users/Username/atom/app-1.51.0/resources/app/static/<embedded>:11:155481)
    at Module.require (/app.asar/static/index.js:61:43)
    at require (C:/Users/Username/atom/app-1.51.0/resources/app/static/<embedded>:11:146814)
    at /packages/activate-power-mode/lib/effect/particles.coffee:1:10)
    at /packages/activate-power-mode/lib/effect/particles.coffee:1:1)
    at /packages/activate-power-mode/lib/effect/particles.coffee:1:1)
    at Module.get_Module._compile (C:/Users/Username/atom/app-1.51.0/resources/app/static/<embedded>:11:147498)
    at Object.value [as .coffee] (C:/Users/Username/atom/app-1.51.0/resources/app/static/<embedded>:11:151046)
    at Module.load (internal/modules/cjs/loader.js:701:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:633:12)
    at Function.Module._load (internal/modules/cjs/loader.js:625:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (C:/Users/Username/atom/app-1.51.0/resources/app/static/<embedded>:11:146814)
    at /packages/activate-power-mode/lib/plugin-manager.coffee:2:19)
    at /packages/activate-power-mode/lib/plugin-manager.coffee:1:1)
    at /packages/activate-power-mode/lib/plugin-manager.coffee:1:1)
    at Module.get_Module._compile (C:/Users/Username/atom/app-1.51.0/resources/app/static/<embedded>:11:147498)
    at Object.value [as .coffee] (C:/Users/Username/atom/app-1.51.0/resources/app/static/<embedded>:11:151046)
    at Module.load (internal/modules/cjs/loader.js:701:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:633:12)
    at Function.Module._load (internal/modules/cjs/loader.js:625:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (C:/Users/Username/atom/app-1.51.0/resources/app/static/<embedded>:11:146814)
    at /packages/activate-power-mode/lib/activate-power-mode.coffee:18:24

Commands

Non-Core Packages

activate-power-mode 2.7.0