在Trellis + Bedrock + Sage + Vagrant环境中运行纱线

时间:2017-09-08 00:16:46

标签: wordpress webpack vagrant yarnpkg roots-sage

学习如何使用Vagrant环境!

我正试图在Trellis + Bedrock + Sage + Vagrant环境中运行Yarn,当我运行yarn run start时,我一直收到以下错误。

Couldn't find the binary webpack --hide-modules --watch --config resources/assets/build/webpack.config.js

我不太确定我做错了什么......我在我的流浪者环境中的主题目录中运行yarn run start,即。 vagrant@test:/srv/www/test.io/current/web/app/themes/newTheme

1 个答案:

答案 0 :(得分:0)

我需要通过npm更新webpack,我还运行if indexPath.item == 0 { //first item } 以获得良好的衡量标准。