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

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

Open
xihuanlei opened this issue Oct 10, 2020 · 0 comments

Comments

@xihuanlei
Copy link

[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 
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