0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

初歩的なエラーだが、、、

スクリーンショット 2025-10-15 11.31.18.png

よくみてみるとこれは

ViteManifestNotFoundException

Vite manifest not found at: /var/www/html/public/build/manifest.json

である。

これは

Blade の @vite(['resources/css/app.css', 'resources/js/app.js']) が Vite の成果物を探す。でも 開発サーバ(Vite)を起動していない か 本番ビルドを作っていないため
結果、public/build/manifest.json が無くて 500 エラーとなったのである。

従ってターミナルで

title
./vendor/bin/sail npm install     # 初回のみ
./vendor/bin/sail npm run dev     # 5173でVite起動ターミナルは開いたまま

とすればOK.

スクリーンショット 2025-10-15 11.33.31.png

治った。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?