We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Non-free jsminifier not available

Hi all. I get error when use Assets Management

My code

$this->assets
                ->collection('js')
                    ->addJs('js/jquery-2.1.3.min.js')
                    ->addJs('js/bootstrap.min.js')
                    ->join(true)
                    ->setTargetPath('compile.js')
                    ->setTargetUri('js/compile.js')
                    ->addFilter(new \Phalcon\Assets\Filters\Jsmin());
<b>Fatal error</b>:  Uncaught exception 'Phalcon\Assets\Exception' with message 'Non-free jsminifier not available'

license issues or what that ?



2.1k

yeah. you need to get the source from github and build it urself