Can't change styles.scss in html5 client

78 views
Skip to first unread message

Chris M

unread,
May 27, 2021, 2:41:34 PM5/27/21
to BigBlueButton-dev
Hello together,

I have set up a development environment as described here:
https://docs.bigbluebutton.org/2.2/dev.html

I cant build it with 'meteor npm install' and start it with 'npm start' with no problems. Everything works as expected, but if I modify anything, like adding a newline at the end of the file or a comment in the

~/dev/bigbluebutton/bigbluebutton-html5/imports/ui/components/presentation/styles.scss file

I get the following error and the html5 client isn't available anymore:

/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Processing Step: CSS Modules / PostCSS compilation
Unable to compile /home/ubuntu/dev/bigbluebutton/bigbluebutton-html5/imports/ui/components/presentation/styles.scss
Error: true is not a PostCSS plugin
 
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
=> Errors prevented startup:
    
   While processing files with nathantreid:css-modules (for target web.browser):
   error: true is not a PostCSS plugin
    
=> Your application has errors. Waiting for file change.
 
Do you guys have any idea why I am not allowed to edit the style files?

Regards

Chris M

unread,
May 28, 2021, 7:26:30 AM5/28/21
to BigBlueButton-dev
Here you can see the log beneath the code with the extra line (number 98):
extraLine.png
and here you can see that it automatically started after I removed the empty line:
noExtraLine.png

I have no problems editing other files like component.jsx, but every change in a styles.scss file seems to cause problems.
Reply all
Reply to author
Forward
0 new messages