Sunday, May 20, 2012

Symfony2 assets:install error

If you get the next error when running php app/console assets:install --symlink ./web:

  Warning: unlink(./web/bundles/framework): Permission denied in C:\wamp\www\project
\vendor\symfony\src\Symfony\Component\HttpKernel\Util\Filesystem.php line 100

Then delete folders in project/web/bundles/ then run the command and it should work.