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

LRU is not a constructor #77

Open
thisVioletHydra opened this issue Aug 20, 2024 · 0 comments
Open

LRU is not a constructor #77

thisVioletHydra opened this issue Aug 20, 2024 · 0 comments

Comments

@thisVioletHydra
Copy link

thisVioletHydra commented Aug 20, 2024

i got this bug🐞 if i use latest Bun

install packages with pnpm -- all good 🤔

The extension broke after the last update or stylelint or the extension itself
vscode gets mad at stylelint-config-recommended-vue

Error - 2:26:07 PM] (node:30388) [stylelint:002] DeprecationWarning: The CommonJS Node.js API is deprecated.
See https://stylelint.io/migration-guide/to-16
[Error - 2:26:07 PM] [language-server] Error running lint | uri: "file:///c%3A/generateStyles/layer-theme/theme/pipe.postcss" 
error: {
  "filepath":"C:\\www\\playground\\node_modules\\stylelint-config-recommended-vue\\lib\\index.js",
  "name":"TypeError","message":"LRU is not a constructor",
  "stack":"TypeError: LRU is not a constructor\n    
  at Object.<anonymous> (C:\\www\\playground\\node_modules\\stylelint-config-recommended-vue\\node_modules\\semver\\classes\\range.js:202:15)\n    
  at Module._compile (node:internal/modules/cjs/loader:1373:14)\n    
  at Module._extensions..js (node:internal/modules/cjs/loader:1432:10)\n    
  at Module.load (node:internal/modules/cjs/loader:1215:32)\n    
  at Module._load (node:internal/modules/cjs/loader:1031:12)\n    
  at c._load (node:electron/js2c/node_init:2:13801)\n    
  at Module.require (node:internal/modules/cjs/loader:1240:19)\n   
  at require (node:internal/modules/helpers:179:18)\n    
  at Object.<anonymous> (C:\\www\\playground\\node_modules\\stylelint-config-recommended-vue\\node_modules\\semver\\classes\\comparator.js:141:15)\n    
  at Module._compile (node:internal/modules/cjs/loader:1373:14)"
}
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