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

[BUG] - Whenever I tried to edit the css file I got this error #278

Closed
sujit-baniya opened this issue Feb 11, 2022 · 2 comments · Fixed by #279
Closed

[BUG] - Whenever I tried to edit the css file I got this error #278

sujit-baniya opened this issue Feb 11, 2022 · 2 comments · Fixed by #279
Labels
bug Something isn't working

Comments

@sujit-baniya
Copy link
Contributor

/web/node_modules/.pnpm/@windicss+plugin-utils@1.7.0/node_modules/@windicss/plugin-utils/dist/index.js:826
          attributesObject[name2].push(...value.split(regexClassSplitter).filter(Boolean));
                                                ^

TypeError: Cannot read property 'split' of undefined
    at /web/node_modules/.pnpm/@windicss+plugin-utils@1.7.0/node_modules/@windicss/plugin-utils/dist/index.js:826:49
    at Array.forEach (<anonymous>)
    at Object.buildPendingStyles (/web/node_modules/.pnpm/@windicss+plugin-utils@1.7.0/node_modules/@windicss/plugin-utils/dist/index.js:823:20)
    at getChangedModuleNames (/web/node_modules/.pnpm/vite-plugin-windicss@1.7.0_vite@2.8.0/node_modules/vite-plugin-windicss/dist/index.js:115:11)
    at reloadChangedCssModules (/web/node_modules/.pnpm/vite-plugin-windicss@1.7.0_vite@2.8.0/node_modules/vite-plugin-windicss/dist/index.js:144:44)
    at Timeout._onTimeout (/web/node_modules/.pnpm/vite-plugin-windicss@1.7.0_vite@2.8.0/node_modules/vite-plugin-windicss/dist/index.js:334:7)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
@sctgraham
Copy link

Got the same bug here too and have not been able to find a work around. Do you have an ETA for the PR merge ?

@sctgraham
Copy link

Works great, thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants