Next.js Discord

Discord Forum

Help with "Failed to compile" Error in Wix Rich Content Viewer

Unanswered
Gharial posted this in #help-forum
Open in Discord
GharialOP
Hey everyone, I'm running into an issue while trying to compile my project using Wix's Rich Content Viewer. The error message I'm getting is:

css
Failed to compile
./node_modules/.pnpm/wix-rich-content-viewer@9.18.4_@babel+runtime@7.26.0_classnames@2.5.1_lodash@4.17.21_react-do_5auairdtn4zjpzz7rwmxdaw5xe/node_modules/wix-rich-content-viewer/dist/es/styles.editor.min.global.css:99:4624
Parsing css source code failed
   97 |   /*!rtl:begin:ignore*/counter-reset:ol4}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{
   98 |   /*!rtl:end:ignore*/-noop:1;
>  99 |   

It seems like the error is coming from the styles.editor.min.global.css file in the wix-rich-content-viewer package. I’ve tried clearing caches and reinstalling dependencies, but nothing seems to work.

Has anyone experienced this before or knows how to resolve it?

Im using next js 15

Thanks in advance!

0 Replies