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

Error: ENOENT: no such file or directory #568

Open
jorschac opened this issue Jun 12, 2024 · 2 comments
Open

Error: ENOENT: no such file or directory #568

jorschac opened this issue Jun 12, 2024 · 2 comments

Comments

@jorschac
Copy link

jorschac commented Jun 12, 2024

Hi all
A problem I encountered when try to add stylelint-config-html to my extends. When it tries to scan a scss file, following error poped up:

Error: ENOENT: no such file or directory, open '/Users/MY_NAME/Desktop/My_PROJECT/node_modules/.pnpm/[email protected][email protected]/node_modules/stylelint-config-html/index.js'

while the file it said "not found" is actually there, right in the directory it can't find the file:

截屏2024-06-12 15 12 58

dependencies I insatalled are:
"postcss-html": "^1.7.0", "stylelint": "14.16.1", "stylelint-declaration-strict-value": "^1.8.0", "stylelint-config-html": "^1.1.0"

and here is my stylelint config:
root: true,
extends: ['stylelint-config-recommended-scss', "stylelint-config-html"]
rules: {
'font-family-no-missing-generic-family-keyword': null,
'scss/at-import-partial-extension': 'always',
},

here is my extension config:
"stylelint.validate": [
"css",
"scss",
"less",
"vue",
"vue-html"
],

here are the node pnpm version:

[email protected]
[email protected]
[email protected]

Looking desperately for any help, Thanks!

@Mouvedia
Copy link
Member

Your screenshot says "1.0.0" and your error "1.1.0".

@HelenaSanchezBasetis
Copy link

any news on this? i'm having the same issue

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

3 participants