laravel / homestead

MIT License
3.87k stars 1.44k forks source link

Homestead not able to run simple command: npm install vue@next vue-loader@next #1976

Closed controlunit closed 5 months ago

controlunit commented 6 months ago

Homestead not able to run simple command: npm install vue@next vue-loader@next

Laravel Framework 11.5.0 and Node v22.0.0 and npm 10.5.1

composer create-project --prefer-dist laravel/laravel my_project composer require laravel/ui php artisan ui vue npm install && npm run dev npm install vue@next vue-loader@next npm ERR! code ETARGET npm ERR! notarget No matching version found for vue@next. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in: /home/vagrant/.npm/_logs/2024-05-12T17_33_33_645Z-debug-0.log

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:

controlunit commented 5 months ago

I will try some other commands. Thanks