記号「^」は、デバッグバージョン1.0.4以降が必要であることを示していると思います。私が正しければ、npm install connect-redisは、システムにグローバルにインストールされている[email protected]を見つけるはずです。ノードバージョン0.6.12がインストールされており、npm -v1.1.4です。
エラーメッセージは次のとおりです。
npm ERR! message No compatible version found: debug@'^1.0.4'
グローバルにインストールされたパッケージのリストは次のとおりです。
├── [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]
└── [email protected]
必要がなければ、古いバージョンのデバッグをインストールしたくありません。お知らせ下さい :)
問題は、お使いのバージョンのnpmが^
モジュールバージョンマッチングのsemver演算子を理解していないことです。ノードの最新の安定バージョン(この記事の執筆時点ではv0.10.32)へのアップグレードを検討する必要があります。また、そのオペレーターをサポートする最新の安定バージョンのnpmも入手できます。
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加