Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

npm install keytar error on windows 10 #45

Closed
wangxiexe opened this issue Aug 2, 2016 · 2 comments
Closed

npm install keytar error on windows 10 #45

wangxiexe opened this issue Aug 2, 2016 · 2 comments

Comments

@wangxiexe
Copy link

C:\Users\wangxi\git\micloud-pc\app\node_modules\keytar>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 )

main.cc
keytar_win.cc
win_delay_load_hook.c
C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.c(34): error C2373: '__pfnDliNot
ifyHook2': redefinition; different type modifiers [C:\Users\wangxi\git\micloud-pc\app\node_modules\keytar\build\keytar.
vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\delayimp.h(134): note: see declaration of '__pfnDliNot
ifyHook2'
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:276:23)

@wangxiexe
Copy link
Author

the cause is here

nodejs/node-gyp#972

@Cath2022
Copy link

Leave comment

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@wangxiexe @Cath2022 and others