I tried to do a clean build of canvas based on the updated (as of 3 days ago) production guide. It required me to upgrade yarn, no longer held back to 0.27
But it fails (error below).
If i edit app/stylesheets/base/_variables.scss and comment out line 32 and add $use_high_contrast: false; on line 33, it compiles. But that's likely a bad solution.
line 32 @import "variant_variables"; is what's broken... any ideas where i can find this file?
error compiling sass { Error: File to import not found or unreadable: variant_variables.
Parent style sheet: app/stylesheets/base/_variables.scss
at options.error (/var/canvas/node_modules/node-sass/lib/index.js:291:26)
cause:
{ Error: File to import not found or unreadable: variant_variables.
Parent style sheet: app/stylesheets/base/_variables.scss
at options.error (/var/canvas/node_modules/node-sass/lib/index.js:291:26)
status: 1,
file: 'app/stylesheets/base/_variables.scss',
line: 32,
column: 1,
message: 'File to import not found or unreadable: variant_variables.\nParent style sheet: app/stylesheets/base/_variables.scss',
formatted: 'Error: File to import not found or unreadable: variant_variables.\n Parent style sheet: app/stylesheets/base/_variables.scss\n on line 32 of app/stylesheets/base/_variables.scss\n>> @import "variant_variables";\n ^\n' },
isOperational: true,
status: 1,
file: 'app/stylesheets/base/_variables.scss',
line: 32,
column: 1,
formatted: 'Error: File to import not found or unreadable: variant_variables.\n Parent style sheet: app/stylesheets/base/_variables.scss\n on line 32 of app/stylesheets/base/_variables.scss\n>> @import "variant_variables";\n ^\n' } Error: File to import not found or unreadable: variant_variables.
Parent style sheet: app/stylesheets/base/_variables.scss
at options.error (/var/canvas/node_modules/node-sass/lib/index.js:291:26) File to import not found or unreadable: variant_variables.
Parent style sheet: app/stylesheets/base/_variables.scss
Segmentation fault (core dumped)
error Command failed with exit code 139.
rake aborted!
error running brandable_css
/var/canvas/lib/tasks/css.rake:23:in `block (3 levels) in <top (required)>'
/var/canvas/lib/tasks/css.rake:16:in `block (2 levels) in <top (required)>'
/var/canvas/lib/tasks/canvas.rake:40:in `block (2 levels) in <top (required)>'
/var/canvas/vendor/bundle/ruby/2.4.0/gems/rake-12.2.1/exe/rake:27:in `<top (required)>'
Tasks: TOP => css:compile