Skip to content

Conversation

@adrum
Copy link
Contributor

@adrum adrum commented Oct 24, 2025

I ran into an issue where I updated boost, but roster was left behind. This ensures we install a compatible version of Roster with the now required node package manager detection:

> @php artisan boost:update --ansi

   Illuminate\View\ViewException

  Call to undefined method Laravel\Roster\Roster::nodePackageManager() (View: /repo/storage/framework/views/b45cac6caa1804305e672e99d2097f47.blade.php)

  at vendor/laravel/boost/src/Install/GuidelineAssist.php:175
    171▕     }
    172▕
    173▕     public function nodePackageManager(): string
    174▕     {
  ➜ 175▕         return ($this->roster->nodePackageManager() ?? NodePackageManager::NPM)->value;
    176▕     }
    177▕ }
    178▕

      +3 vendor frames

  4   storage/framework/views/4fb83c7f91d0de69900a30e94db9aff3.php:33
      Laravel\Boost\Install\GuidelineAssist::nodePackageManager()
      +42 vendor frames

  47  artisan:16
      Illuminate\Foundation\Application::handleCommand(Object(Symfony\Component\Console\Input\ArgvInput))

Script @php artisan boost:update --ansi handling the post-update-cmd event returned with error code 1

@pushpak1300 pushpak1300 merged commit f100f43 into laravel:main Oct 25, 2025
24 of 35 checks passed
@pushpak1300
Copy link
Member

Thanks !

@adrum adrum deleted the fix/roster branch October 25, 2025 18:14
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.

2 participants