avanzu / AdminThemeBundle

Admin Theme based on the AdminLTE Template for easy integration into symfony
MIT License
280 stars 148 forks source link

Can't fetch vendor: Bower error #127

Closed Geolim4 closed 7 years ago

Geolim4 commented 8 years ago

Hi When i try to fetch the vendor, It output this error:

php bin/console avanzu:admin:fetch-vendor -e=prod [Executing] bower install [Error] bower invalid-meta The "name" is recommended to be lowercase, can contain digits, dots, dashes

Geolim4 commented 8 years ago

Also i can't build the asset, the command try to call uglify like Unix env:

/usr/bin/env uglifyjs -o

As i'm on windows the bower_bin option is working well for me, why not making the same for uglifyjs and uglifycss ?

The full command output (i replaced sensitive data by 0):

λ php bin/console avanzu:admin:build-assets
/usr/bin/env uglifyjs -o F:\UwAmp\www\000000-bundle\000000Bundle\vendor\avanzu\admin-theme-bundle\Resources/public/static/dev/scripts/modernizr.js F:\UwAmp\www\000000-bundle\000000Bundle\vendor\avanzu\admin-theme-bundle/Resources/public/vendor/modernizr/modernizr.js

Le chemin d'accès spécifié est introuvable.
Geolim4 commented 8 years ago

Ok the binaries can be specified as a cli option. I have to made some research to find this. Anyway the style command does not output anything, i made a Pr for that: #128

Alsop the bower issue is due to the last bower update (1.7.9), i just rollback to 1.7.8 and everything is working fine.

Geolim4 commented 7 years ago

Closed as merged in #128