Laravel-mix: yarn run production "No command specified"

Created on 31 Jan 2017  路  2Comments  路  Source: JeffreyWay/laravel-mix

screen shot 2017-01-31 at 10 04 16

I'm running into an issue when running the command 'yarn run production'

If you change the name e.g. changing production to anything else like "prod" or "production2" the command runs fine first time. It's possibly linked to this closed yarn issue (https://github.com/yarnpkg/yarn/issues/2009)

Here are my node, npm and yarn versions:

screen shot 2017-01-31 at 10 08 22

To confirm npm run production works fine and yarn run dev, watch and hot work fine also

Most helpful comment

@adriaanzon That worked - Thank you! 馃槃

All 2 comments

Update Yarn

@adriaanzon That worked - Thank you! 馃槃

Was this page helpful?
0 / 5 - 0 ratings

Related issues

amin101 picture amin101  路  3Comments

Bomavi picture Bomavi  路  3Comments

terion-name picture terion-name  路  3Comments

mementoneli picture mementoneli  路  3Comments

Cheddam picture Cheddam  路  3Comments