App "crashes" when php reference doesn't exist.
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
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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của beyondcode/invoker-community
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
beyondcode/invoker-community#400 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
beyondcode/invoker-community#399 ·
-
feature request
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
beyondcode/invoker-community#397 ·
-
Invoker issueĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
beyondcode/invoker-community#396 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
beyondcode/invoker-community#395 · 1 reaction ·
Tất cả issue của beyondcode/invoker-community
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
OpenShot/openshot-qt#6202 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feedback
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
useagenthq/useagent#170 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
openscopeproject/TrguiNG#338 ·
-
dependencies effort:low flow:chore rust
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
jaroslawherod/micold-ai-ide#875 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
storytold/photocraft#6286 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày