Run command in Terminal errors with "Cannot read properties of undefined (reading 'replace')"
Maintainer thường phản hồi trong vòng 1 ngày
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
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- r, typescript, vscode
- Lĩnh vực
- devtools
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện lỗi trên macOS bằng các lệnh R được liệt kê, thiết lập r.rpath.mac và các phiên bản VS Code cùng extension đã được báo cáo. Truy tìm các điểm vào lệnh cho "R: Run Command in Terminal" và "R: Run Command With Editor Path in Terminal"; được xem là hoàn tất khi cả hai lệnh chạy mã thành công trong terminal R mà không xuất hiện hộp thoại lỗi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
Unable to run any code / file in R terminal.
Always getting an error dialog:
Command 'R: Run Command in Terminal' resulted in an error
Cannot read properties of undefined (reading 'split')
or when executing "R: Run command with editor path in terminal"
** Command 'R: Run Command With Editor Path in Terminal' resulted in an error**
Cannot read properties of undefined (reading 'replace')
To Reproduce
Steps to reproduce the behavior:
- Install R via homebrew
brew install r - Install R extension from REditorSupport
- Open R file
- Execute "R: Create R terminal"
- Execute "R: Run command in terminal"
Can you fix this issue by yourself? (We appreciate the help)
No
setting.json
// R path for Mac OS X
"r.rpath.mac": "/opt/homebrew/bin/R",
Expected behavior
Program is run in R terminal.
Screenshots
If applicable, add screenshots to help explain your problem.
You can show the keyboard contents by pressing F1 and Developer: toggle screencast mode
Environment (please complete the following information):
- OS: macOS 14.4
- VSCode Version: 1.89.1
- R Version: 4.4.0
- vscode-R version: 2.8.4
Additional context
- Ngôn ngữ chính
- TypeScript
- Star
- 1.2k
- Fork
- 139
- Merge trung bình
- 19 giờ 50 phút
- Pull request đã merge (30 ngày)
- 27
Chuẩn bị môi trường
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 REditorSupport/vscode-R
-
(feat) Additional Arrow supportĐang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
REditorSupport/vscode-R#1785 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
REditorSupport/vscode-R#1687 · 4 bình luận · 3 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug confirmed
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
REditorSupport/vscode-R#1802 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
REditorSupport/vscode-R#1799 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
REditorSupport/vscode-R#1791 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của REditorSupport/vscode-R
Issue tương tự
-
refactor
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 5 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
OHDSI/Data2Evidence#3450 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
e2e-failure ready-to-code
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
redhat-developer/rhdh-plugin-export-overlays#4011 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
automation missing-model model-sync provider:ofox
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
anomalyco/models.dev#8421 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
SlackAdapter and TelegramAdapter are not assignable to Adapter under exactOptionalPropertyTypesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày