Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to install ldapauth getting error #6

Open
DineshPatri opened this issue Jul 20, 2020 · 0 comments
Open

unable to install ldapauth getting error #6

DineshPatri opened this issue Jul 20, 2020 · 0 comments

Comments

@DineshPatri
Copy link

trying to install ldapauth using "npm install ldapauth" but i am getting the below error

ldapauth\node_modules\bcrypt>if not defined npm_config_node_gyp (node "C:\Program Files\Vbrick\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\Vbrick\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. blowfish.cc bcrypt.cc bcrypt_node.cc win_delay_load_hook.cc c:\program files\vbrick\nodejs\node_modules\ldapauth\node_modules\nan\nan_maybe_43_inl.h(88): error C2039: 'ForceSet': is not a member of 'v8::Object' (compiling source file ..\src\bcrypt_node.cc) [C:\Program Files\Vbrick\nodejs\node_mo dules\ldapauth\node_modules\bcrypt\build\bcrypt_lib.vcxproj] .... .... (compiling source file ..\src\bcrypt_node.cc) gyp ERR! build error gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exefailed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Program Files\Vbrick\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:198:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) gyp ERR! System Windows_NT 10.0.18363 gyp ERR! command "C:\\Program Files\\Vbrick\\nodejs\\node.exe" "C:\\Program Files\\Vbrick\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd C:\Program Files\Vbrick\nodejs\node_modules\ldapauth\node_modules\bcrypt gyp ERR! node -v v10.16.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] install:node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\DP052402\AppData\Roaming\npm-cache_logs\2020-07-20T18_14_23_665Z-debug.log
`

Couple of solutions i tried is to downgrade the node version, is this the solution?cant i upgrade node. current version is 10.16.0
#re install node
npm install -g [email protected] - but this is not affecting the node version, when verified with node -v.

Please suggest a solution to get this working.

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

No branches or pull requests

1 participant