Details
-
Bug
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
win10 64, npm --version 2.14.4, Python 2.7.10, wtf?!!
*Location*: https://docs.mongodb.org/manual/?_ga=1.226647325.1639236069.1447189270
*User-Agent*: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 YaBrowser/15.9.2403.3043 Safari/537.36
*Referrer*: https://www.mongodb.org/downloads
*Screen Resolution*: 1920 x 1200
*repo*: docs
*source*: index
win10 64, npm --version 2.14.4, Python 2.7.10, wtf?!! *Location*: https://docs.mongodb.org/manual/?_ga=1.226647325.1639236069.1447189270 *User-Agent*: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 YaBrowser/15.9.2403.3043 Safari/537.36 *Referrer*: https://www.mongodb.org/downloads *Screen Resolution*: 1920 x 1200 *repo*: docs *source*: index
Description
C:\Users\USER>npm install mongodb -g
npm WARN peerDependencies The peer dependency kerberos@~0.0 included from mongodb-core will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
-
> kerberos@0.0.17 install C:\Users\USER\AppData\Roaming\npm\node_modules\mongodb\node_modules\kerberos
> (node-gyp rebuild) || (exit 0)
C:\Users\USER\AppData\Roaming\npm\node_modules\mongodb\node_modules\kerberos>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild )
Сборка проектов в этом решении по одному. Чтобы включить параллельную сборку, добавьте параметр "/m".
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.t
argets(57,5): error MSB8020: The build tools for v120 (Platform Toolset = 'v120
') cannot be found. To build using the v120 build tools, please install v120 bu
ild tools. Alternatively, you may upgrade to the current Visual Studio tools b
y selecting the Project menu or right-click the solution, and then selecting "R
etarget solution". [C:\Users\USER\AppData\Roaming\npm\node_modules\mongodb\node
_modules\kerberos\build\kerberos.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:270:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 10.0.10240
gyp ERR! command "C:
Program Files\\nodejs
node.exe" "C:
Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin
node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\USER\AppData\Roaming\npm\node_modules\mongodb\node_modules\kerberos
gyp ERR! node -v v4.1.2
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
mongodb@2.0.48 C:\Users\USER\AppData\Roaming\npm\node_modules\mongodb
├── es6-promise@2.1.1
├── readable-stream@1.0.31 (inherits@2.0.1, isarray@0.0.1, core-util-is@1.0.1, string_decoder@0.10.31)
├── kerberos@0.0.17 (nan@2.0.9)
└── mongodb-core@1.2.21 (bson@0.4.19)
C:\Users\USER>