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] nextjs15 turbopack throw Parsing css source code failed #2587

Open
1 task done
majian159 opened this issue Nov 23, 2024 · 0 comments
Open
1 task done

[BUG] nextjs15 turbopack throw Parsing css source code failed #2587

majian159 opened this issue Nov 23, 2024 · 0 comments

Comments

@majian159
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Which Component

Chat

Semi Version

2.27.0

Current Behavior

Build Error
Next.js (15.0.3) (Turbopack)
Failed to compile

./node_modules/.pnpm/@DouyinFE[email protected][email protected]/node_modules/@douyinfe/semi-foundation/lib/es/codeHighlight/codeHighlight.css:31:57
Parsing css source code failed
29 | .semi-codeHighlight-defaultTheme pre[class*=language-]::selection,
30 | .semi-codeHighlight-defaultTheme code[class*=language-]::selection,

31 | .semi-codeHighlight-defaultTheme pre[class*=language-]::mozselection,
| ^
32 | .semi-codeHighlight-defaultTheme code[class*=language-]::mozselection {
33 | text-shadow: none;
34 | background: #b3d4fc;

'mozselection' is not recognized as a valid pseudo-element. Did you mean ':mozselection' (pseudo-class) or is this a typo? at [project]/node_modules/.pnpm/@DouyinFE[email protected][email protected]/node_modules/@douyinfe/semi-foundation/lib/es/codeHighlight/codeHighlight.css:30:56
This error occurred during the build process and can only be dismissed by fixing the error.

Expected Behavior

No response

Steps To Reproduce

No response

ReproducibleCode

No response

Environment

- OS:
- browser:

Anything else?

No response

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