Laravel Breeze Error: No matching version found for @tanstack/[email protected]

  Kiến thức lập trình

I’m trying to make my first Laravel app with React on the front-end using Breeze. I followed the instructions and installed PHP and Composer. Now trying to set up the Laravel app according to the instructions here and here, I run the commands

composer create-project laravel/laravel:^11.0 app
cd app
composer require laravel/breeze --dev
php artisan breeze:install

wherein I am met with the following error from NPM

npm ERR! code ETARGET
npm ERR! notarget No matching version found for @tanstack/[email protected].
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

I’ve narrowed down the issue as being part of the @headlessui/react dependency, but I’m completely stumped on what to do about it, other than just not using the library.

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT