Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Yarn 3 running mix always requires webpack-cli #3261

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

d8vjork
Copy link
Contributor

@d8vjork d8vjork commented May 21, 2022

Yesterday I followed the steps to migrate my existing projects to Yarn 3 and all are working with a few workarounds, but not the ones based in Laravel mix. This is why:

image

And what I did was something they recommended here: webpack/webpack-cli#1434 (comment)

Also possibly fixes problem of #3237? But I'm not so sure...

@danijelk
Copy link

danijelk commented Jul 7, 2022

Any reason this is not merged since May? Or is there a different fix for this?

@d8vjork
Copy link
Contributor Author

d8vjork commented Jul 7, 2022

@d8vjork Don't know of any workaround to this so for the moment I'm stuck to using Yarn v1 on the projects I'm using Laravel Mix, the rest I'm moving to Vite as it seems officially supported by the Laravel team

@danijelk
Copy link

danijelk commented Jul 7, 2022

@d8vjork thanks will look into it as well.

@Anton-Plagemann
Copy link

I'm facing the same issue and hoping for a merge 🤞
Solved it by adding the quickfix from here to my .bashrc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants