laravel / homestead

MIT License
3.85k stars 1.45k forks source link

npm ERR! ENOTSUP: operation not supported on socket, write #1964

Closed controlunit closed 2 months ago

controlunit commented 3 months ago

It is impossible to run: "npm install vue" from inside the Homestead VM. Error: npm ERR! ENOTSUP: operation not supported on socket, write

Please note that the Homestead issue tracker is reserved for bug reports and enhancements. We are not always able to debug Vagrant, Provider or Operating System issues, but will do our best to help. Thank you!

Versions

A lot of issues can be resolved by simply updating vagrant, provider or homestead.

Note: Virtualbox users, please upgrade to 6.x. You'll need to download a newer version of Virtualbox.

Host operating system

This is the operating system that you run locally.

Homestead.yaml

# Copy-paste your Homestead.yaml here

Vagrant destroy & up output

Provide a link to a GitHub Gist containing the complete output of vagrant destroy && vagrant up. Do NOT paste the debug output in the issue, just paste the link to the Gist.

Expected behavior

What should have happened? Please include as much detail as possible.

Actual behavior

What actually happened? Please include as much detail as possible.

Steps to reproduce

1. 2. 3.

References

Are there any other GitHub issues (open or closed) that should be linked here? For example:

gefloh commented 2 months ago

It's a node issue: https://github.com/nodejs/node/issues/50876 and has been fixed meanwhile. Just update the node version inside Homestead and it will work again.