[BUG]: Unable to run "npm" after "vfox use nodejs" in Git Bash
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 30/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- bash, node.js
調査の方向性
Reproduce the reported vfox 0.5.3 commands in Git Bash on Windows 11, then inspect the generated Node.js directory and the npm and npm.cmd entries. The work is done when npm --version runs successfully after vfox use nodejs, without requiring npm.cmd.
索引モデルが issue の本文から書いたものです。
説明
Version
vfox 0.5.3 (installed using scoop)
OS
Windows 11
Describe the bug
After running vfox use nodejs in Git Bash, I can execute node, but I get a "No such file or directory" error if I try to execute npm. After looking inside the directory mentioned in the error message, I did find that if I instead run npm.cmd, it works.
Example
$ vfox use nodejs
Please select a version of nodejs:
-> 20.13.1
Now using [email protected].
$ node --version
v20.13.1
$ npm --version
/bin/bash: C:/Users/colec/.version-fox/temp/1716613200-1047/nodejs/npm: No such file or directory
$ ls -al /c/Users/colec/.version-fox/temp/1716613200-1047/nodejs/
total 67896
drw-rw-rw- 3 colec 0 4096 2024-05-25 21:58 .
drw-rw-rw- 3 colec 0 0 2024-05-25 21:58 ..
-rw-rw-rw- 1 colec 0 55087 2024-05-25 21:58 CHANGELOG.md
-rw-rw-rw- 1 colec 0 334 2024-05-25 21:58 corepack
-rwxrwxrwx 1 colec 0 218 2024-05-25 21:58 corepack.cmd
-rwxrwxrwx 1 colec 0 3033 2024-05-25 21:58 install_tools.bat
-rw-rw-rw- 1 colec 0 119618 2024-05-25 21:58 LICENSE
-rwxrwxrwx 1 colec 0 69266072 2024-05-25 21:58 node.exe
drw-rw-rw- 4 colec 0 0 2024-05-25 21:58 node_modules
-rwxrwxrwx 1 colec 0 702 2024-05-25 21:58 nodevars.bat
-rw-rw-rw- 1 colec 0 2073 2024-05-25 21:58 npm
-rwxrwxrwx 1 colec 0 538 2024-05-25 21:58 npm.cmd
-rw-rw-rw- 1 colec 0 2073 2024-05-25 21:58 npx
-rwxrwxrwx 1 colec 0 538 2024-05-25 21:58 npx.cmd
-rw-rw-rw- 1 colec 0 39557 2024-05-25 21:58 README.md
$ npm.cmd --version
10.5.2
- 主要言語
- Go
- スター
- 4k
- フォーク
- 164
- 平均マージ
- 2日 10時間
- マージ済み PR(30日)
- 8
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
version-fox/vfox のほかの issue
-
enhancement help wanted
難易度 3/5 1〜2日 初心者へのやさしさ 70/100
version-fox/vfox#743 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Follow-ups of #736: plugin updates, the path.mode default and vfox config対応中かも @linghengqian が 12 日前に担当しました。 オープンplan plugin
version-fox/vfox#737 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[Feature]: Improve the E2E experience for certain plugin repositories on Windows containers対応中かも @linghengqian が 13 日前に担当しました。 オープンenhancement
version-fox/vfox#733 · コメント 2 件 · リアクション 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: On Windows, `vfox use java@X` doesn't change `java` when a JDK is in the system PATH and a global SDK is set対応中かも @linghengqian が 12 日前に担当しました。 オープンbug
難易度 4/5 3〜5日 初心者へのやさしさ 47/100
version-fox/vfox#732 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
help wanted question
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
version-fox/vfox#731 ·
メンテナーはふだん 1 日以内に返信
version-fox/vfox の issue をすべて見る
似ている issue
-
needs-area
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Azure/typespec-azure#5936 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
-
Fix mode unpins a reusable workflow call when the same repository is also used as a step actionオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/gh-actions-lock#261 ·
メンテナーはふだん 1 日以内に返信
-
bug documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
labmonkeys-space/nl6#974 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100