-
We need to know your netlify site name: beechwood-swim-club
-
Build problems? Link or paste the FULL build log & build settings screenshot
Diagnosis
The build failure is due to an “Undefined variable” error in the SCSS file src/scss/_theme.scss
at line 15 that is being triggered during the npm run production
command.
Solution
- In the SCSS file
src/scss/_theme.scss
at line 15, there is an undefined variable$stalfos-colors
. - Verify that the variable
$stalfos-colors
is defined or imported correctly in the SCSS file where it should be located. Make sure that the variable is defined before being used in this context. - If
$stalfos-colors
is a part of an external library or file, ensure that the package containing this variable is included in thepackage.json
dependencies or the necessary file is committed to the repository. - After confirming the correct definition/import of
$stalfos-colors
, run the build command again to ensure the issue has been resolved.
I’m not proficient with the command line so any help with this issue would be very helpful!