-
-
Notifications
You must be signed in to change notification settings - Fork 35
Description
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:

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!