Error when compiling crystal 2.114 from source

23 views
Skip to first unread message

Slavomír Čéplö

unread,
Aug 10, 2022, 1:55:23 PM8/10/22
to NoSketch Engine
Dear all,

when compiling crystal 2.114 on Ubuntu 22.04, I get the following error:

ERROR in ./app/styles/style.scss
(./node_modules/css-loader??ref--5-1!./node_modules/sass-loader/dist/cjs.js!./app/styles/style.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):

margin: math.div($thumb-height, 2) 0;
^
Invalid CSS after " margin: math": expected expression (e.g.
1px, bold), was ".div($thumb-height,"
in /home/bulbul/noske/crystal-open-2.114/node_modules/input-range-scss/_inputrange.scss
(line 59, column 15)
@ ./app/styles/style.scss 2:14-131
@ ./app/main.js
@ multi ./app/main.js

I tried all kinds of solutions found on stackoverflow et al, but nothing helped.
Does anyone have a solution?

Thank you,

Slavo

Tomáš Svoboda

unread,
Aug 10, 2022, 5:04:35 PM8/10/22
to NoSketch Engine, bulbult...@gmail.com
Dear Slavomir,
please, try to change this line in package.json:
-    "input-range-scss": "^1.5.2",
+    "input-range-scss": "1.5.2",


Best regards!

Tomas


Dne středa 10. srpna 2022 v 19:55:23 UTC+2 uživatel bulbult...@gmail.com napsal:

Tomáš Svoboda

unread,
Aug 11, 2022, 5:59:15 AM8/11/22
to NoSketch Engine, Tomáš Svoboda, bulbult...@gmail.com
Hi again,
we have just updated Crystal at the https://nlp.fi.muni.cz/trac/noske so the problem is fixed.


Best regards!

Tomas

Dne středa 10. srpna 2022 v 23:04:35 UTC+2 uživatel Tomáš Svoboda napsal:
Reply all
Reply to author
Forward
0 new messages