Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Showing Error While Deploying Liferay Theme
showing the following error while deploying the Theme
PS C:\LifeRay\liferay-ce-portal-7.2.1-ga2> cd C:\LifeRay\liferay-ce-portal-7.2.1-ga2\my-liferay-theme
PS C:\LifeRay\liferay-ce-portal-7.2.1-ga2\my-liferay-theme> gulp deploy
[21:04:23] Using gulpfile C:\LifeRay\liferay-ce-portal-7.2.1-ga2\my-liferay-theme\gulpfile.js
[21:04:23] Starting 'deploy'...
[21:04:24] Starting 'build'...
[21:04:24] Starting 'build:clean'...
[21:04:24] Finished 'build:clean' after 1.04 ms
[21:04:24] Starting 'build:base'...
[21:04:25] Finished 'build:base' after 1.76 s
[21:04:25] Starting 'build:src'...
[21:04:25] Finished 'build:src' after 9.62 ms
[21:04:25] Starting 'build:web-inf'...
[21:04:25] Finished 'build:web-inf' after 6.5 ms
[21:04:25] Starting 'build:liferay-look-and-feel'...
[21:04:25] Finished 'build:liferay-look-and-feel' after 11 ms
[21:04:25] Starting 'build:hook'...
[21:04:25] Finished 'build:hook' after 11 ms
[21:04:25] Starting 'build:themelets'...
[21:04:25] Starting 'build:themelet-src'...
[21:04:25] Finished 'build:themelet-src' after 1.99 ms
[21:04:25] Starting 'build:themelet-css-inject'...
[21:04:25] Starting 'build:themelet-js-inject'...
[21:04:25] gulp-inject Nothing to inject into portal_normal.ftl.
[21:04:25] gulp-inject Nothing to inject into _custom.scss.
[21:04:25] Finished 'build:themelet-css-inject' after 19 ms
[21:04:25] Finished 'build:themelet-js-inject' after 20 ms
[21:04:25] Finished 'build:themelets' after 30 ms
[21:04:25] Starting 'build:rename-css-dir'...
[21:04:25] Finished 'build:rename-css-dir' after 2.17 ms
[21:04:25] Starting 'build:compile-css'...
Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div($spacer, 2) or calc($spacer / 2)
More info and automated migrator: https://sass-lang.com/d/slash-div
╷
298 │ $headings-margin-bottom: $spacer / 2 !default;
│ ^^^^^^^^^^^
╵
build\_css\clay\bootstrap\_variables.scss 298:31 @import
build\_css\clay\bootstrap\bootstrap.scss 9:9 @import
build\_css\clay\base.scss 7:9 @import
build\_css\clay.scss 1:9 root stylesheet