node.js - failing to install mongoose npm -
i installing mongoose npm. getting bunch of errors. did npm install of npm install -g node-gyp post read similar problem. however, problem did not seem go away. not able problem solve warning on one. insight hugely appreciated.
../lib/kerberosgss.c:509:13: warning: implicit declaration of function 'gss_acquire_cred_impersonate_name' invalid in c99 [-wimplicit-function-declaration] maj_stat = gss_acquire_cred_impersonate_name(&min_stat, ^ 1 warning generated. cc(target) release/obj.target/kerberos/lib/base64.o cxx(target) release/obj.target/kerberos/lib/kerberos_context.o solink_module(target) release/kerberos.node ld: library not found -lgcc_s.10.5 clang: error: linker command failed exit code 1 (use -v see invocation) make: *** [release/kerberos.node] error 1 gyp err! build error gyp err! stack error: `make` failed exit code: 2 gyp err! stack @ childprocess.onexit (/users/stevenkauyedauty/.npm-packages/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23) gyp err! stack @ childprocess.emit (events.js:98:17) gyp err! stack @ process.childprocess._handle.onexit (child_process.js:810:12) gyp err! system darwin 14.5.0 gyp err! command "node" "/users/stevenkauyedauty/.npm-packages/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp err! cwd /users/stevenkauyedauty/projects/controlleras/beerrecipes/node_modules/mongoose/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos gyp err! node -v v0.10.33 gyp err! node-gyp -v v2.0.1 gyp err! not ok
it complaining library lgcc_s.10.5
not existing on system. can see similar issue homebrew here. if on mac, proposed solution upgrade xcode 7.
figure out xcode version:
vinay@chocobo-2:~ $ xcodebuild -version xcode 7.0.1
Comments
Post a Comment