Tag: error

  • AH10292: Invalid proxy UDS filename – Hay un nuevo error en los servidores Plesk que utilizan Ubuntu. ¡Solución!

    AH10292: Invalid proxy UDS filename – Hay un nuevo error en los servidores Plesk que utilizan Ubuntu. ¡Solución!

    Hola, Hoy descubrimos un nuevo error y lo solucionamos lo antes posible. Creemos que algunos amigos en el foro han encontrado este error y están buscando una solución. La solución es muy simple. El sitio web de repente comenzó a mostrar el error 500: AH10292: Invalid proxy UDS filename (proxy:unix:///var/www/vhosts/system/example.com/php-fpm.sock|fcgi://127.0.0.1:9000/var/www/vhosts/example.com/httpdocs/public/index.php) ¿Porque? El problema está en…

  • Can’t bind to ‘items’ since it isn’t a known property of ‘virtual-scroller’

    Can’t bind to ‘items’ since it isn’t a known property of ‘virtual-scroller’

    Tuve este error al realizar pruebas unitarias luego de implementar este componente. 1. If ‘virtual-scroller’ is an Angular component and it has ‘items’ input, then verify that it is part of this module. 2. If ‘virtual-scroller’ is a Web Component then add ‘CUSTOM_ELEMENTS_SCHEMA’ to the ‘@NgModule.schemas’ of this component to suppress this message. 3. To…

  • Another process, with id #######, is currently running ngcc

    Another process, with id #######, is currently running ngcc

    Un momento cuando estaba haciendo pruebas unitarias y cancele el proceso al momento de volver a ejecutar aparecio este error. La solución es sencilla: 1.- Borrar la carpeta node_modules 2.- Instalar nuemavente con npm i 3.- Ejecutar nuevamente ng serve o ng test Fuente: https://stackoverflow.com/a/61122898/2400373

  • Angular 8 and importing Json (error TS2732)

    Si necesitas importar un archivo .json se puede utilizar esta linea: import particlesJson from ‘../../assets/particles.json’; Pero genera este error: ERROR in src/app/profile/login.component.ts(3,27): error TS2732: Cannot find module ‘../../assets/particles.json’. Consider using ‘–resolveJsonModule’ to import module with ‘.json’ extension La solución es agregar esto: “resolveJsonModule”: true, “esModuleInterop”: true, en compilerOptions dentro del archivo tsconfig.json Fuente: https://stackoverflow.com/a/57574607/2400373

  • Error with Angular 8 and 9 – ‘allowSyntheticDefaultImports’ flag (error TS1259)

    Este error se produce cuando se carga un .json al componente. error TS1259 “can only be default-imported using the ‘allowSyntheticDefaultImports’ flag” Para solucionar esto simplemente en el archivo tsconfig.json se debe agregar lo siguiente: “compilerOptions”: { “allowSyntheticDefaultImports”:true, }   Fuente: https://github.com/visjs/vis-network/issues/67#issuecomment-598173037