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 in node v20.17.0 and above #35

Open
seakk opened this issue Oct 11, 2024 · 0 comments
Open

Error in node v20.17.0 and above #35

seakk opened this issue Oct 11, 2024 · 0 comments

Comments

@seakk
Copy link

seakk commented Oct 11, 2024

/Users/jack/.nvm/versions/node/v20.17.0/lib/node_modules/csso-cli/node_modules/css-tree/cjs/utils/names.cjs:69
let hack = property[0];
^

TypeError: Cannot read properties of undefined (reading '0')
at Object.getPropertyDescriptor [as property] (/Users/jack/.nvm/versions/node/v20.17.0/lib/node_modules/csso-cli/node_modules/css-tree/cjs/utils/names.cjs:69:24)
at getPropertyFingerprint (/Users/jack/.nvm/versions/node/v20.17.0/lib/node_modules/csso-cli/node_modules/csso/cjs/restructure/6-restructBlock.cjs:72:30)
at List. (/Users/jack/.nvm/versions/node/v20.17.0/lib/node_modules/csso-cli/node_modules/csso/cjs/restructure/6-restructBlock.cjs:222:29)
at List.forEachRight (/Users/jack/.nvm/versions/node/v20.17.0/lib/node_modules/csso-cli/node_modules/css-tree/cjs/utils/List.cjs:160:16)
at Object.processRule (/Users/jack/.nvm/versions/node/v20.17.0/lib/node_modules/csso-cli/node_modules/csso/cjs/restructure/6-restructBlock.cjs:220:18)
at Object.enter (/Users/jack/.nvm/versions/node/v20.17.0/lib/node_modules/csso-cli/node_modules/csso/cjs/restructure/6-restructBlock.cjs:302:25)
at Object. (/Users/jack/.nvm/versions/node/v20.17.0/lib/node_modules/csso-cli/node_modules/css-tree/cjs/walker/create.cjs:13:16)
at walkNode (/Users/jack/.nvm/versions/node/v20.17.0/lib/node_modules/csso-cli/node_modules/css-tree/cjs/walker/create.cjs:171:36)
at List.walkReducer (/Users/jack/.nvm/versions/node/v20.17.0/lib/node_modules/csso-cli/node_modules/css-tree/cjs/walker/create.cjs:197:61)
at List.reduceRight (/Users/jack/.nvm/versions/node/v20.17.0/lib/node_modules/csso-cli/node_modules/css-tree/cjs/utils/List.cjs:194:22)

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