I am learning the symfony sonata bundle, I installed the symfony skeleton project with composer create-project symfony/website-skeleton sonata
command, and I enter into sonata directory and run composer require sonata-project/admin-bundle
command as the guide on symfonydoc, I checked all the configurations as the doc said, and the cache:clear
and assets:install
command all work fine, I started my server with php bin/console server:start
, but when I visit the url 'http://localhost:8000/admin/dashboard' it reports error, An exception has been thrown during the rendering of a template ("Asset manifest file "/Users/kazuma/www/sonata/public/build/manifest.json" does not exist.").
I made my project with symfony before, but I don't know much about the webpack, my asset directory is empty, when I run npm install it works fine too, I don't know what I've missed.