spatie / blender

The Laravel template used for our CMS like projects
https://freek.dev/on-open-sourcing-blender
877 stars 148 forks source link

Seeding error when run ‘php artisan migrate --seed’ #367

Closed JKChen closed 7 years ago

JKChen commented 7 years ago
Migrating: 2016_11_09_154021_create_content_blocks_table
Migrated:  2016_11_09_154021_create_content_blocks_table
Seeding: BackUserSeeder
Seeding: FrontUserSeeder
Seeding: FragmentSeeder
Seeding: TagSeeder
Seeding: ArticleSeeder
'"jpegtran"' is not recognized as an internal or external command,operable program or batch file.
'"jpegtran"' is not recognized as an internal or external command,operable program or batch file.

Looks like some packages are missing, like "jpegtran" or other names.

freekmurze commented 7 years ago

You should install those yourself

JKChen commented 7 years ago

Yes. When I run npm install --global jpegtran-bin before php artisan migrate --seed then all tables are seeded successfully.

freekmurze commented 7 years ago

Note that we'll swap out the current image optimizer soon by our own one.

https://github.com/spatie/image-optimizer

This new package will make installing optimization tools optional. It will just skip image optimization if the need binaries are not present on your system.

JKChen commented 7 years ago

Cool~