を見つけていない私は現在NodeJSで「表現」を使用しようとしていますが、それは私を与え続けて何らかの理由:bashの:表現:コマンドが
のbash:表現:コマンド私は
が見つかりません言及するだけで、Windowsを使用しています。私は以前に答えられた質問で提案されたいくつかを試しましたが、何も動作していないようです。私はここで二つの質問を認識しています:Answer 1とAnswer 2
私はグローバルエクスプレスインストールしようとしました、それはこの中で結果:私はそれがこの、その結果急行ジェネレータをインストールしようとした後
[email protected] D:\Programs\GIT\Git\usr\local\node_modules\express
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── serve-st[email protected]
├── [email protected]
├── range-parse[email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], http-error [email protected])
:
タイピングの際D:\Programs\GIT\Git\usr\local\express -> D:\Programs\GIT\Git\usr\local\node_modules\express-generator\bin\express.
[email protected] D:\Programs\GIT\Git\usr\local\node_modules\express-generator
は:「:表現:bashのコマンドが見つからない」-v表現し、それだけ言って、その結果
は、私が試してみました提案コマンド:/Users/[name]/.npm/bin/express
が表示されますが、「No such file or directory」と表示されます。私はExpressの道を変える必要があるかもしれないが、私はそれをどうやって行うのかよく分かりません。 \プログラム\ GIT \ Gitリポジトリ:\プログラム\ GIT \ Gitリポジトリ\ USR \ローカル\ node_modules \このフォルダにDを追加する必要が
表現:
は 'Cされている環境変数を設定することを見つける必要がありますのWindowsの差分バージョンを使用している場合:\ \のAppData \ローミング\ npm' PATHに\ユーザー? –
DrakaSAN
Windowsの場合、 '/ Users'のようなものはありません(Macチュートリアルを読んでいなければなりませんか?)ファイルがインストールされている実際のディレクトリ名は' PATH'に追加する必要があります。 – tripleee