abe33 / atom-pigments

An Atom package to display colors in project and files.
MIT License
521 stars 68 forks source link

Uncaught Error: Cannot find module 'lru-cache' #445

Open Anusha116 opened 4 years ago

Anusha116 commented 4 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.45.0 x64 Electron: 4.2.7 OS: Unknown Windows version Thrown From: pigments package 0.40.2

Stack Trace

Uncaught Error: Cannot find module 'lru-cache'

At internal/modules/cjs/loader.js:586

Error: Cannot find module 'lru-cache'
    at Module._resolveFilename (internal/modules/cjs/loader.js:584:15)
    at Module._resolveFilename (~/AppData/Local/atom/app-1.45.0/resources/electron.asar/common/reset-search-paths.js:43:12)
    at Function.get_Module._resolveFilename (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:11:155413)
    at Module.require (/app.asar/static/index.js:61:43)
    at require (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:11:146745)
    at /packages/pigments/node_modules/minimatch/minimatch.js:35:11
    at /packages/pigments/node_modules/minimatch/minimatch.js:1057:3)
    at /packages/pigments/node_modules/minimatch/minimatch.js:1063:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:11:147429)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:11:146745)
    at ColorProject.module.exports.ColorProject.isIgnoredPath (/packages/pigments/lib/color-project.coffee:390:18)
    at ColorBuffer.module.exports.ColorBuffer.isIgnored (/packages/pigments/lib/color-buffer.coffee:182:14)
    at ColorBuffer.module.exports.ColorBuffer.update (/packages/pigments/lib/color-buffer.coffee:152:19)
    at /packages/pigments/lib/color-buffer.coffee:42:12

Commands

     -9:34.6.0 core:delete (input.hidden-input)
  2x -6:57.8.0 editor:newline (input.hidden-input)
  3x -6:05.0 core:delete (input.hidden-input)
     -5:45.9.0 editor:newline (input.hidden-input)
  2x -4:07.5.0 core:delete (input.hidden-input)
     -0:44.2.0 editor:newline (input.hidden-input)
  4x -0:35.1.0 core:delete (input.hidden-input)

Non-Core Packages

atom-beautifier 0.5.0 
atom-beautify 0.33.4 
atom-html-preview 0.2.6 
atom-ternjs 0.20.0 
autoclose-html 0.23.0 
autoclose-tags 0.2.4 
busy-signal 2.0.1 
csslint 1.2.0 
emmet 2.4.3 
intentions 1.1.5 
language-ejs 0.4.0 
linter 2.3.1 
linter-eslint 8.5.5 
linter-ui-default 1.8.0 
pigments 0.40.2 
Sublime-Style-Column-Selection 1.7.5