-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Labels
Description
I've been testing your package and have run into an issue in my local and development environments.
Both systems produce the exact same error when trying to pre-compile assets for production use.
$ php artisan larasset:precompile --environment production
[InvalidArgumentException]
There are no commands defined in the "larasset" namespace.
Running the same command without the environment option does a successful pre-compile but does not minify or compress anything.
laravel.log entry:
[2014-12-01 15:55:06] false.ERROR: exception 'InvalidArgumentException' with message 'There are no commands defined in the "larasset" namespace.' in /vagrant/vendor/symfony/console/Symfony/Component/Console/Application.php:516
Stack trace:
#0 /vagrant/vendor/symfony/console/Symfony/Component/Console/Application.php(550): Symfony\Component\Console\Application->findNamespace('larasset')
#1 /vagrant/vendor/symfony/console/Symfony/Component/Console/Application.php(190): Symfony\Component\Console\Application->find('larasset:precom...')
#2 /vagrant/vendor/symfony/console/Symfony/Component/Console/Application.php(124): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 /vagrant/artisan(59): Symfony\Component\Console\Application->run()
#4 {main} [] []