私はmongodbデータベースでnodejsを実行しており、javascriptドライバーmongodb-nativeをインストールしようとしています..「npm install -g mongodb --mongodb:native」を試すと
Windows 7 マシンに同じ構成をインストールしようとしましたが、問題なく動作します。Windows server 2008 で動作しない理由は何ですか?
npm install コマンドから取得した出力は次のとおりです。
npm http GET https://registry.npmjs.org/mongodb
npm http GET https://registry.npmjs.org/mongodb
npm http GET https://registry.npmjs.org/mongodb
npm http GET https://registry.npmjs.org/bson/0.1.5
npm http GET https://registry.npmjs.org/bson/0.1.5
npm http GET https://registry.npmjs.org/bson/0.1.5
> bson@0.1.5 install C:\Users\xxx\AppData\Roaming\npm\node_modules\mongodb\no
de_modules\bson
> node install.js || (exit 0)
================================================================================
= =
= Attempting to build bson c++ extension =
= Windows: no build will be attempted as binaries are prepackaged =
= Unix: on failure the package will still install without the C++ extension =
= =
================================================================================
mongodb@1.1.11 C:\Users\xxx\AppData\Roaming\npm\node_modules\mongodb
└── bson@0.1.5
C:\Users\xxx>npm ls
C:\Users\xxx
└── (empty)