richie icon indicating copy to clipboard operation
richie copied to clipboard

Error: Undefined variable.

Open Ever3tt opened this issue 2 years ago • 2 comments

Bug Report

Hi!, I was trying to do the "start your own site" of the richie's documentation, I got as far as the "make bootstrap" step until this error came up

Error: Undefined variable. ╷ 8 │ $palette: map-get($theme, 'colors') !default; │ ^^^^^^ ╵ richie-education/scss/colors/_palette.scss 8:19 @import scss/_main.scss 13:9 root stylesheet error Command failed with exit code 65. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. ERROR: 65

  • Richie version: 2.23.0

Additional context/Screenshots Add any other context about the problem h Screenshot from 2023-08-03 12-35-50

Ever3tt avatar Aug 03 '23 17:08 Ever3tt

Hi @Ever3tt. cunningham have been added to the project recently. to fix your build you'll need to generate it's theme files first with:

src/frontend$ yarn build-theme

rlecellier avatar Aug 31 '23 14:08 rlecellier

If I run the above command, I get:

frontend % yarn build-theme
yarn run v1.22.19
warning package.json: No license field
error Command "build-theme" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

fsbraun avatar Sep 22 '23 19:09 fsbraun