Build and restart errors
Solved
Technical Support
-
Hi All,
On one of my forums, I get the below when starting up
2024-01-22T11:31:38.781Z [5001/551899] - info: [build] plugin static dirs build completed in 0.765sec Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0. Recommendation: math.div(20em, 16) or calc(20em / 16) More info and automated migrator: https://sass-lang.com/d/slash-div ╷ 12 │ $fa-fw-width: (20em / 16); │ ^^^^^^^^^ ╵ public/fontawesome/scss/_variables.scss 12:25 @import fontawesome.scss 5:9 @import fontawesome/loader.scss 2:9 @import - 46:9 root stylesheet Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0. Recommendation: math.div(4em, 3) or calc(4em / 3) More info and automated migrator: https://sass-lang.com/d/slash-div ╷ 6 │ font-size: (4em / 3); │ ^^^^^^^ ╵ public/fontawesome/scss/_larger.scss 6:15 @import fontawesome.scss 8:9 @import fontawesome/loader.scss 2:9 @import - 46:9 root stylesheet Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0. Recommendation: math.div(3em, 4) or calc(3em / 4) More info and automated migrator: https://sass-lang.com/d/slash-div ╷ 7 │ line-height: (3em / 4); │ ^^^^^^^ ╵ public/fontawesome/scss/_larger.scss 7:17 @import fontawesome.scss 8:9 @import fontawesome/loader.scss 2:9 @import - 46:9 root stylesheet Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0. Recommendation: math.div($fa-li-width * 5, 4) or calc($fa-li-width * 5 / 4) More info and automated migrator: https://sass-lang.com/d/slash-div ╷ 6 │ margin-left: $fa-li-width * 5/4; │ ^^^^^^^^^^^^^^^^^^ ╵ public/fontawesome/scss/_list.scss 6:16 @import fontawesome.scss 10:9 @import fontawesome/loader.scss 2:9 @import - 46:9 root stylesheet 2024-01-22T11:31:39.252Z [5001/551899] - info: [build] client js bundle build completed in 1.235sec 2024-01-22T11:31:39.397Z [5001/551899] - info: [build] admin js bundle build completed in 1.38sec DEPRECATION WARNING: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0. Recommendation: math.div(20em, 16) or calc(20em / 16) More info and automated migrator: https://sass-lang.com/d/slash-div ╷ 12 │ $fa-fw-width: (20em / 16); │ ^^^^^^^^^ ╵ ../../public/fontawesome/scss/_variables.scss 12:25 @import fontawesome.scss 5:9 @import fontawesome/loader.scss 2:9 @import - 4:9 root stylesheet DEPRECATION WARNING: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0. Recommendation: math.div(4em, 3) or calc(4em / 3) More info and automated migrator: https://sass-lang.com/d/slash-div ╷ 6 │ font-size: (4em / 3); │ ^^^^^^^ ╵ ../../public/fontawesome/scss/_larger.scss 6:15 @import fontawesome.scss 8:9 @import fontawesome/loader.scss 2:9 @import - 4:9 root stylesheet DEPRECATION WARNING: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0. Recommendation: math.div(3em, 4) or calc(3em / 4) More info and automated migrator: https://sass-lang.com/d/slash-div ╷ 7 │ line-height: (3em / 4); │ ^^^^^^^ ╵ ../../public/fontawesome/scss/_larger.scss 7:17 @import fontawesome.scss 8:9 @import fontawesome/loader.scss 2:9 @import - 4:9 root stylesheet DEPRECATION WARNING: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0. Recommendation: math.div($fa-li-width * 5, 4) or calc($fa-li-width * 5 / 4) More info and automated migrator: https://sass-lang.com/d/slash-div ╷ 6 │ margin-left: $fa-li-width * 5/4; │ ^^^^^^^^^^^^^^^^^^ ╵ ../../public/fontawesome/scss/_list.scss 6:16 @import fontawesome.scss 10:9 @import fontawesome/loader.scss 2:9 @import - 4:9 root stylesheet Error: Error: Undefined mixin. ╷ 209 │ @include fa-icon-solid($fa-var-check); │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ admin/admin.scss 209:4 @import - 11:9 root stylesheet at handleCompileResponse (/home/hostrisk/nodebb/node_modules/sass-embedded/dist/lib/src/compile.js:245:15) at compileRequestAsync (/home/hostrisk/nodebb/node_modules/sass-embedded/dist/lib/src/compile.js:118:16) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Object.buildCSS (/home/hostrisk/nodebb/src/meta/minifier.js:163:22) at async process.<anonymous> (/home/hostrisk/nodebb/src/meta/minifier.js:117:20) 2024-01-22T11:31:43.184Z [5001/551899] - info: [build] client side styles build completed in 5.167sec 2024-01-22T11:31:43.202Z [5001/551899] - info: [build] admin control panel styles build completed in 5.185sec 2024-01-22T11:31:43.745Z [5001/551899] - info: [build] languages build completed in 5.724sec 2024-01-22T11:31:43.814Z [5001/551899] - info: [build] requirejs modules build completed in 5.798sec 2024-01-22T11:31:43.814Z [5001/551899] - info: [build] Bundling with Webpack. [10%] building (244/337 modules) 2024-01-22T11:31:51.664Z [5001/551899] - info: [build] Bundling took 6674 ms 2024-01-22T11:31:51.675Z [5001/551899] - info: [build] Asset compilation successful. Completed in 13.651sec.
I've disabled all plugins and checked my proxy config, although I do not see anything immediately wrong. The front-end of the site works fine, but the admin has no CSS and no JS.
I'm not using any custom themes.
EDIT: It's worth nothing that these issues all appeared after an upgrade from 3.2 to latest. If I recover from backup (to 3.2) everything works as expected.
Thanks
-
-
Copyright © 2024 NodeBB | Contributors