Do npm run build:css
No ERROR
ERROR
> joomla@4.0.0 build:css
> node build/build.js --compile-css
Error: Undefined variable.
╷
20 │ @each $color, $value in $theme-colors-rgb {
│ ^^^^^^^^^^^^^^^^^
╵
administrator\templates\atum\scss\_root.scss 20:27 @import
administrator\templates\atum\scss\vendor\_bootstrap.scss 8:9 @import
administrator\templates\atum\scss\template.scss 8:9 @import
administrator\templates\atum\scss\template-rtl.scss 1:9 root stylesheet
npm ERR! code 1
npm ERR! path D:\Xampp\htdocs\joomla
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node build/build.js --compile-css
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Rishabh\AppData\Local\npm-cache\_logs\2021-10-29T14_32_57_618Z-debug.log
Chrome on Windows10
PHP 8.0.6
MySQLi 10.4.19-MariaDB
Labels |
Added:
No Code Attached Yet
|
Yes, I'm also unable to replicate the issue. I think this issue might be system-specific.
@rjharishabh Just to be sure: Have you run „composer install“ before running „npm ci“?
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-10-30 03:42:45 |
Closed_By | ⇒ | rjharishabh |
No ERROR in fresh Joomla install, but there are deprecation warnings
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div($col-gutter-width, 2)
More info and automated migrator: https://sass-lang.com/d/slash-div
Unable to replicate
This log should give you more information