Wikiki / bulma-checkradio

Bulma's extension to display better checkbox and radio imputs
MIT License
71 stars 43 forks source link

Cannot Create from SASS #70

Closed alexfurr closed 2 years ago

alexfurr commented 2 years ago

Get the following when compiling using node-sass. (Path to app changed to curly brackets) { "status": 1, "file": "/{PATH_TO_APP}/node_modules/bulma-checkradio/src/sass/index.sass", "line": 13, "column": 16, "message": "Invalid CSS after \" $height: math\": expected expression (e.g. 1px, bold), was \".div($newSize, 2.5)\"", "formatted": "Error: Invalid CSS after \" $height: math\": expected expression (e.g. 1px, bold), was \".div($newSize, 2.5)\"\n on line 13 of node_modules/bulma-checkradio/src/sass/index.sass\n from line 13 ofbulma.scss\n>> $height: math.div($newSize, 2.5);\n\n ---------------^\n" }

Not sure if it's related to issue 69 below.

JakalGC commented 2 years ago

same problem here. It doesn't like Math.div that have replace the division (/) For example the line 13 was $height: $newSize / 2.5 and is now $height: math.div($newSize, 2.5)

ansibleguy76 commented 2 years ago

I have this fixed by updating my sass module. i had node-sass. I replaced it with "sass" (in my package.json)