Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#398 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
macos, php
Lĩnh vực
desktop

Hướng nghiên cứu

Tái hiện sự cố bằng cách mở một project có PHP Binary Path không hợp lệ hoặc không hoạt động, chẳng hạn như /opt/homebrew/bin/php trên macOS. Theo dõi quá trình xác thực PHP binary và xử lý lỗi từ luồng tạo project. Hoàn tất khi Invoker phát hiện binary không thể sử dụng và hiển thị thông báo có thể thực hiện được, yêu cầu người dùng sửa đường dẫn đã cấu hình, thay vì báo cáo một lỗi trống.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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:


Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
76
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của beyondcode/invoker-community

Tất cả issue của beyondcode/invoker-community

Issue tương tự

Thêm issue về Desktop Dev

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.