I just used composer create-project roots/sage five dev-master to install Sage - with no framework.
The build is failing. I’ve used it so many times in the past with no issues, but I can’t get this one to work. Has something changed recently?
Seeing this when I run yarn start:
Invalid Option: Unexpected option value "[object Object]" for rule "at-rule-no-unknown"
yarn build is yielding this:
Error: Failed because of a stylelint error
at linter.then (/Library/WebServer/Documents/base/wp5/wp-
content/themes/five/node_modules/stylelint-webpack-plugin/lib/run-compilation.js:39:14)
error Command failed with exit code 1.
Anyone else seen this? Any ideas gratefully received.
We’re working on a fix for this, but at the moment the workaround is just opening up package.json after you install from dev-master and removing this from the bottom:
And I got back a detailed error and was able to fix it.
In my case, in the _variables.scss file, there was an error in how I was writing the primary color hex code and I needed an extra blank line at the end of the entire file.