-
Bug
-
Resolution: Fixed
-
Critical
-
4.2
-
MOODLE_402_STABLE
-
MOODLE_402_STABLE
-
This has been detected when testing MDL-77333.
Since a few weeks ago (14th March 2023 is the first detected problem, it was passing few days earlier) the grunt componentlibrary:cssBuild task is failing under Windows.
Running "stylelint:css" (stylelint) task
|
>> Linted 119 files without errors
|
|
Running "componentlibrary:docsBuild" task
|
Start building sites …
|
...
|
...
|
Total in 322 ms
|
|
Running "componentlibrary:cssBuild" task
|
D:\a\moodle\moodle\node_modules\.bin\sass:2
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
^^^^^^^
|
|
SyntaxError: missing ) after argument list
|
at Object.compileFunction (node:vm:360:18)
|
at wrapSafe (node:internal/modules/cjs/loader:1119:15)
|
at Module._compile (node:internal/modules/cjs/loader:1155:27)
|
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
|
at Module.load (node:internal/modules/cjs/loader:1069:32)
|
at Function.Module._load (node:internal/modules/cjs/loader:904:12)
|
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
|
at node:internal/main/run_main_module:22:47>>
|
Error: Process completed with exit code 1.
|
I've reproduced it consistently both locally (git bash) and GHA (link above).
Only affected branch is master, so far. All stables are running grunt ok.
Ciao