After running the command “yarn” to install dependencies, I am receiving an error whenever I try and run any of the yarn scripts.
$yarn run build
yarn run v0.15.1
$ "webpack --progress --config assets/build/webpack.config.js"
sh: webpack --progress --config assets/build/webpack.config.js: No such file or directory
error Command failed with exit code 127.
I see that the file is there, relative to the theme directory where I am issuing the command.
Mac user here. Yup sure enough I was running Yarn 0.15.1 which was the issue. Since I had installed Yarn via NPM, I had to remove it and decided to go with “brew install yarn” instead which took me up to 0.19.1 (stable) as of this comment. Works like a charm now.