couds / react-bulma-components

React components for Bulma framework
MIT License
1.2k stars 126 forks source link

SassError: media query expression must begin with '(' [HELP] #312

Closed kumardennis closed 3 years ago

kumardennis commented 3 years ago

SassError: media query expression must begin with '(' on line 2 of node_modules/react-bulma-components/lib/components/button/button.sass

@import '~bulma/sass/elements/button.sass'

is the error I get when I compile a gatsby project. How can I get by ? do I need to edit node_modules file ?

couds commented 3 years ago

Question: do you enabled sass on gatsby? (And followed the docs on the readme)

Also maybe you want to checkout the v4. It's in RC.1 you can install it with npm I react-bulma-components@next take into account that in this version you need to import the bulma styles yourself

couds commented 3 years ago

@kumardennis can you share a repository to replicate this issue?

Also if possible I recommend to move to the v4.

couds commented 3 years ago

Closing this due inactivity.

Please reopen this task if you still had the issue and add the step to replicate the error.

Thanks