Learning how to use Vagrant environments!
I'm trying to run Yarn in a Trellis + Bedrock + Sage + Vagrant environment and I keep getting the following error when I run yarn run start
.
Couldn't find the binary webpack --hide-modules --watch --config resources/assets/build/webpack.config.js
I'm not quite sure what I'm doing wrong... I'm running yarn run start
in the theme directory within my vagrant environment, ie. vagrant@test:/srv/www/test.io/current/web/app/themes/newTheme
I needed to update webpack via npm and I also ran
npm -g install --save-dev
for good measure.