configure - common.gypi not found error in node.js -


i trying "node-gyp configure" try ms sql server driver. however, said binding.gypi missing or effect. saying common.gypi not found. created text document relabelled common.gypi , pasted code file common.gypi found in github repository file , saved , closed , ran "node-gyp configure". output.

d:\node\sqlserverconnector\node-sqlserver-master>node-gyp configure gyp info worked if ends ok gyp info using node-gyp@0.10.6 gyp info using node@0.10.15 | win32 | ia32 gyp info spawn python gyp info spawn args [ 'c:\users\suresh\appdata\roaming\npm\node_modules\n ode-gyp\gyp\gyp', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'msvs', gyp info spawn args '-g', gyp info spawn args 'msvs_version=auto', gyp info spawn args '-i', gyp info spawn args 'd:\node\sqlserverconnector\node-sqlserver-master\buil d\config.gypi', gyp info spawn args '-i', gyp info spawn args 'd:\node\sqlserverconnector\node-sqlserver-master\comm on.gypi', gyp info spawn args '-i', gyp info spawn args 'c:\users\suresh\appdata\roaming\npm\node_modules\n ode-gyp\addon.gypi', gyp info spawn args '-i', gyp info spawn args 'c:\users\suresh\.node-gyp\0.10.15\common.gypi', gyp info spawn args '-dlibrary=shared_library', gyp info spawn args '-dvisibility=default', gyp info spawn args '-dnode_root_dir=c:\users\suresh\.node-gyp\0.10.15', gyp info spawn args '-dmodule_root_dir=d:\node\sqlserverconnector\node-sqls erver-master', gyp info spawn args '--depth=.', gyp info spawn args '--generator-output', gyp info spawn args 'd:\node\sqlserverconnector\node-sqlserver-master\buil d', gyp info spawn args '-goutput_dir=.' ] gyp: c:\users\suresh.node-gyp\0.10.15\common.gypi not found (cwd: d:\node\sqlse rverconnector\node-sqlserver-master) while reading includes of binding.gyp while trying load binding.gyp gyp err! configure error gyp err! stack error: gyp failed exit code: 1 gyp err! stack @ childprocess.oncpexit (c:\users\suresh\appdata\roaming\npm \node_modules\node-gyp\lib\configure.js:424:16) gyp err! stack @ childprocess.eventemitter.emit (events.js:98:17) gyp err! stack @ process.childprocess._handle.onexit (child_process.js:789: 12) gyp err! system windows_nt 6.1.7600 gyp err! command "node" "c:\users\suresh\appdata\roaming\npm\node_modules\ \node-gyp\bin\node-gyp.js" "configure" gyp err! cwd d:\node\sqlserverconnector\node-sqlserver-master gyp err! node -v v0.10.15 gyp err! node-gyp -v v0.10.6 gyp err! not ok 

please me resolve error.

i've had luck with:

rm -rf ~/.node_gyp cd myawesomeproject npm install npm rebuild

when switching between node 4 , 0.12.4


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -