App "crashes" when php reference doesn't exist.

Abierto
#398 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
macos, php
Área
desktop

Línea de trabajo

Reproduce el problema abriendo un proyecto con una PHP Binary Path no válida o que no funcione, como /opt/homebrew/bin/php en macOS. Sigue la validación del binario de PHP y el manejo de errores desde el flujo de creación del proyecto. Se considera terminado cuando Invoker detecta el binario inutilizable y muestra un mensaje práctico que indica al usuario que corrija la ruta configurada, en lugar de informar de un error vacío.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

I hadn't opened Invoker in probably 1 or 2 years.
When I opened it asked to update to 2.14.0
After that I chose a folder to add a new project and got an error and telling me to open a github issue.
I easily realized that the problem was the PHP Binary path didn't work.

But ideally, the system would identify that and tell me to fix it, instead of telling me to open a github issue.

Since I'm using Laravel Herd, the Path that I used and worked: /Users/myuser/Library/Application Support/Herd/bin/php

For reference, this is what happened when I tried running: /opt/homebrew/bin/php

/opt/homebrew/bin/php
dyld[51494]: Library not loaded: /opt/homebrew/opt/icu4c/lib/libicuio.74.dylib
Referenced from: <3C8145EE-3FF1-3917-95C6-814FA2AD7B61> /opt/homebrew/Cellar/php/8.3.9/bin/php
Reason: tried: '/opt/homebrew/opt/icu4c/lib/libicuio.74.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/icu4c/lib/libicuio.74.dylib' (no such file), '/opt/homebrew/opt/icu4c/lib/libicuio.74.dylib' (no such file), '/opt/homebrew/Cellar/icu4c@77/77.1/lib/libicuio.74.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/icu4c@77/77.1/lib/libicuio.74.dylib' (no such file), '/opt/homebrew/Cellar/icu4c@77/77.1/lib/libicuio.74.dylib' (no such file)
zsh: abort /opt/homebrew/bin/php


OS: darwin
Invoker Version: 2.14.0
Laravel Version: unknown
Local project: true
PHP Binary Path: /opt/homebrew/bin/php
PHP Version:
Route: /home

Error:


Lenguaje dominante
Sin datos de lenguaje
Estrellas
76
Forks
1
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de beyondcode/invoker-community

Todos los issues de beyondcode/invoker-community

Issues similares

Más issues de Desktop Dev

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.