Hola, buen día Sergio, pudimos avanzar con arai-usuaruios, registramos las aplicaciones correctamente, ahora estamos intentando instalar huarpe, seguimos la documentación oficial pero en el paso cuando ejecutamos el comando ./bin/console assetic:dump --env=prod --no-debug nos arroja el siguiente error:
arai:/var/www/html/huarpe# ./bin/console assetic:dump --env=prod --no-debug --force
Dumping all prod assets.
Debug mode is off.
09:57:22 [file+] /var/www/html/huarpe/app/../web/assetic/base_js-0b69656.js
09:57:22 [file+] /var/www/html/huarpe/app/../web/assetic/bootstrap_js-8d7bbd1.js
09:57:22 [file+] /var/www/html/huarpe/app/../web/assetic/main_js-38aa91e.js
09:57:22 [file+] /var/www/html/huarpe/app/../web/assetic/main_css
[Assetic\Exception\FilterException]
An error occurred while running:
'/usr/bin/nodejs' '/tmp/assetic_lessx32SSp'
Error Output:
module.js:327
throw err;
^
Error: Cannot find module 'less'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/tmp/assetic_lessx32SSp:1:74)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
Input:
@import "bootstrap/bootstrap.less";
@import "bootstrap/mixins.less";
@import "inspinia/style";
@import "bloques";
@import "menu";
@import "unqtheme";
@import "personalizacion";
// Bootstrap variables
@icon-font-path: "/fonts/";
body {
/* FIX DRAG AND DROP DE BLOQUES */
overflow-x: visible !important;
}
body.mini-navbar .nav-header {
padding: 10px 10px;
background-color: inherit;
}
.page-heading {
padding-bottom: 0;
}
.miuni-logo {
float: right !important;
height: 56px;
padding: 3px 15px 3px 0;
}
.nav-header {
background: inherit;
padding: 20px 30px 30px 0;
}
.list-scroll {
overflow: auto;
height: 300px;
}
.list-scroll::-webkit-scrollbar {
width: 11px;
}
.list-scroll::-webkit-scrollbar-track {
background-color: #ffffff;
}
.list-scroll::-webkit-scrollbar-thumb {
background-color: rgba(175, 175, 175, 0.46);
}
.app-icon {
display: block;
text-align: center;
color: inherit;
i {
color: @brand-primary;
font-size: 42px;
}
.img-icon {
height: 42px;
width: 42px;
}
}
.img-avatar {
margin-top: 10px;
margin-right: 10px;
}
.ibox {
.ibox-search {
display: none;
input[type="text"] {
width: 100%;
}
}
}
.user-profile-link {
white-space: nowrap;
overflow: hidden;
img {
width: 40px;
height: 40px;
}
.avatar {
margin-right: 5px;
border: solid 3px #fff;
border-radius: 3px;
}
}
.bloque {
@bloque-color: rgba(138, 3, 9, 0.78);
@border-radius: 0;
.bloque-heading {
padding-top: 9px;
height: 34px;
border-style: none none none;
}
h2 {
margin-bottom: 5px;
}
.ibox-content {
padding-top: 10px;
padding-bottom: 15px;
border-top: none;
background-color: @bloque-color;
color: white;
border-color: #F1F0EC;
border-bottom-left-radius: @border-radius;
border-bottom-right-radius: @border-radius;
}
.ibox-title {
color: white;
background-color: @bloque-color;
border-top-color: @bloque-color;
border-top-left-radius: @border-radius;
border-top-right-radius: @border-radius;
}
}
.user-profile-link {
padding: 15px 20px 15px 25px;
color: #ffffff;
border-top: solid 1px #504f40;
border-bottom: solid 1px #504f40;
.img-thumbnail {
padding: 1px;
border-radius: 0;
}
a {
color: #ffffff;
}
}
.bloque-link {
&, &:hover, &:focus {
color: #ffffff;
}
}
#alertas {
.alerta.alerta-nueva {
background-color: #efefef;
p {
font-weight: bold;
}
}
}
.timeline-item .date {
width: 25%;
}
.dropdown-alerts {
padding: 10px 0 10px 0;
}
.dropdown-menu.list-scroll {
height: auto;
max-height: 350px;
}
.panel-body-tabs {
border-left: 1px solid #DDDDDD;
border-right: 1px solid #DDDDDD;
border-bottom: 1px solid #DDDDDD;
}
.app-icon-desactivado {
opacity: 0.4;
}
div.wiki-page-body img {
display: block;
max-width: 100%;
height: auto;
}
.btn-sistemas {
border-color: #C2C2C2;
color: #333;
background-color: #FFF;
text-align: left;
}
.label-success {
background-color: #5CB85C;
}
.modal-backdrop {
position: relative;
}
.modal {
bottom: inherit;
}
.modal-header {
background-color: #f3f3f4;
}
#container_datos_usuario {
margin-top: 6px !important;
}
assetic:dump [--forks FORKS] [--watch] [--force] [--period PERIOD] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command> [<write_to>]
Instalamos las dependencias de nodejs, less y lessc, hicimos una prueba en un archivo escribiendo el siguiente código en javascript var r = require(‘less’); verificando que llamara al módulo y esperando un error de archivo inexistente, pero lo cargo correctamente. También probamos modificar la ruta en la entrada node_paths del archivo app/config/assets.yml y tampoco obtuvimos resultados satisfactorios.
Tengo Debian 8.1, también probé con instalar el paquete nodejs-legacy, el problema es que el paquete entra en conflicto con nodejs, si instalo uno me desinstala el otro, tuve que descargar nodev9 de la página oficial, hice una instalación manual manteniendo nodejs-legacy pero tampoco dio resultado.
Pero ejecutando el comando ./bin/console assetic:dump --env=prod --no-debug sin la opción --env=prod el proceso de exportación al parecer se realiza, luego ingreso a la carpeta web y veo los siguientes archivos :
app_dev.php app.php assetic bundles config.php css favicon.ico fonts img js packages robots.txt
./assetic:
base_js-0b69656.js bootstrap_js-8d7bbd1.js bootstrap_tour_css-9bbc5b9.css bootstrap_tour_js-4d49d86.js main_css main_js-38aa91e.js
./bundles:
siumapuche
./bundles/siumapuche:
css
./bundles/siumapuche/css:
MapucheStyle.css
./css:
62af1c1-492575e_app_launcher_1-7119e2f.css 62af1c1-492575e.css animate.css bootstrap-tour.min.css c0a7231-df1ea7a.css font-awesome.min.css nprogress.css
./fonts:
FontAwesome.otf fontawesome-webfont.svg fontawesome-webfont.woff glyphicons-halflings-regular.svg glyphicons-halflings-regular.woff
fontawesome-webfont.eot fontawesome-webfont.ttf glyphicons-halflings-regular.eot glyphicons-halflings-regular.ttf
./img:
background.jpg iconos logos
./img/iconos:
diaguita.png mapuche.png pilaga.png
./img/logos:
logo-cin-blanco.png logo-cin-blanco-y-negro.png logo-huarpe-iso.png logo-huarpe.png
./js:
057793f-df1ea7a.js 80e3acc-96f74b9.js 88a783a-96f74b9.js bootstrap-tour bootstrap-tour.min.js core
./js/bootstrap-tour:
index.js
./js/core:
avatar.js bloques.js bootstrap.min.js inspinia jquery-1.11.1.min.js jquery.pjax.js jquery-ui.min.js main.js metisMenu.js nprogress.js
./js/core/inspinia:
inspinia.js plugins
./js/core/inspinia/plugins:
dataTables metisMenu slimscroll
./js/core/inspinia/plugins/dataTables:
dataTables.bootstrap.js date-euro.js jquery.dataTables.js
./js/core/inspinia/plugins/metisMenu:
jquery.metisMenu.js
./js/core/inspinia/plugins/slimscroll:
jquery.slimscroll.js jquery.slimscroll.min.js
./packages:
siu-js-app-launcher
./packages/siu-js-app-launcher:
app_launcher.js bower.json css img index.html package.json README.md test.html
./packages/siu-js-app-launcher/css:
app_launcher.css font-awesome-4.4.0
./packages/siu-js-app-launcher/css/font-awesome-4.4.0:
css fonts HELP-US-OUT.txt less scss
./packages/siu-js-app-launcher/css/font-awesome-4.4.0/css:
font-awesome.css font-awesome.min.css
./packages/siu-js-app-launcher/css/font-awesome-4.4.0/fonts:
FontAwesome.otf fontawesome-webfont.eot fontawesome-webfont.svg fontawesome-webfont.ttf fontawesome-webfont.woff fontawesome-webfont.woff2
./packages/siu-js-app-launcher/css/font-awesome-4.4.0/less:
animated.less bordered-pulled.less core.less fixed-width.less font-awesome.less icons.less larger.less list.less mixins.less path.less rotated-flipped.less stacked.less variables.less
./packages/siu-js-app-launcher/css/font-awesome-4.4.0/scss:
_animated.scss _bordered-pulled.scss _core.scss _fixed-width.scss font-awesome.scss _icons.scss _larger.scss _list.scss _mixins.scss _path.scss _rotated-flipped.scss _stacked.scss _variables.scss
./packages/siu-js-app-launcher/img:
foto_perfil_defecto.png google_drive.png google_gmail.png google_plus.png
No sé si están todos los necesarios para armar el front-end.