Run command in Terminal errors with "Cannot read properties of undefined (reading 'replace')"
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- r, typescript, vscode
- 領域
- devtools
調査の方向性
まず、記載されている R コマンド、r.rpath.mac 設定、および報告された VS Code と拡張機能のバージョンを使って、macOS で障害を再現します。"R: Run Command in Terminal" と "R: Run Command With Editor Path in Terminal" のコマンドのエントリポイントを追跡します。両方のコマンドがエラーダイアログなしで R ターミナル内のコードを正常に実行できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- TypeScript
- スター
- 1.2k
- フォーク
- 139
- 平均マージ
- 19時間 46分
- マージ済み PR(30日)
- 26
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
REditorSupport/vscode-R のほかの issue
-
feature-request
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
REditorSupport/vscode-R#1793 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
REditorSupport/vscode-R#1785 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
REditorSupport/vscode-R#1687 · コメント 4 件 · リアクション 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
REditorSupport/vscode-R#1800 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
REditorSupport/vscode-R#1799 ·
メンテナーはふだん 1 日以内に返信
REditorSupport/vscode-R の issue をすべて見る
似ている issue
-
priority: P2
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
prime-radiant-inc/evener#3291 ·
メンテナーはふだん 1 日以内に返信
-
accessibility bug revealjs
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
quarto-dev/quarto-cli#14961 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
supabase/agent-skills#614 ·
-
Content
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
RunestoneInteractive/rs#1559 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信