Yeoman installation issues on Windows 7 -
why yeoman need .net??
c:\windows\system32>npm install -g yo fullname-native@0.1.1 install c:\users\me\appdata\roaming\npm\node_modules\yo\node_modules\fullname\node_modules\fullname-native node-gyp rebuild c:\users\me\appdata\roaming\npm\node_modules\yo\node_modules\fullname\node_modules\fullname-native>node "c:\program files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild building projects in solution 1 @ time. enable parallel build, please add "/m" switch. msbuild : error msb3428: not load visual c++ component "vcbuild.exe". fix this, 1) install .net framework 2.0 sdk, 2) install microsoft visual studio 2005 or 3) add location of component system path if installed elsewhere. [c:\users\me\appdata\roaming\npm\node_modules\yo\node_modules\fullname\node_modules\fullname-native\build\binding.sln] gyp err! build error stack error: `c:\windows\microsoft.net\framework\v4.0.30319\msbuild.exe` failed exit code: 1 gyp err! stack @ childprocess.onexit (c:\program files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:267:23) gyp err! stack @ childprocess.emit (events.js:98:17) gyp err! stack @ process.childprocess._handle.onexit (child_process.js:809:12) gyp err! system windows_nt 6.1.7601 gyp err! command "node" "c:\\program files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp err! cwd c:\users\me\appdata\roaming\npm\node_modules\yo\node_modules\fullname\node_modules\fullname-native gyp err! node -v v0.10.29 gyp err! node-gyp -v v0.13.1 gyp err! not ok npm warn optional dep failed, continuing fullname-native@0.1.1 c:\users\me\appdata\roaming\npm\yo -> c:\users\me\appdata\roaming\npm\node_modules\yo\cli.js
so installed .net 2.0 , added vcbuild.exe
path
c:\program files (x86)\microsoft visual studio 8\vc\vcpackages
but 'm hitting:
npm install -g yo fullname-native@0.1.1 install c:\users\me\appdata\roaming\npm\node_modules\yo\node_modules\fullname\node_modules\fullname-native node-gyp rebuild c:\users\me\appdata\roaming\npm\node_modules\yo\node_modules\fullname\node_modules\fullname-native>node "c:\program files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild building projects in solution 1 @ time. enable parallel build, please add "/m" switch. ..\binding.cc(2): fatal error c1083: cannot open include file: 'iostream': no such file or directory [c:\users\me\appdata\roaming\npm\node_modules\yo\node_modules\fullname\node_modules\fullname-native\build\binding.sln] gyp err! build error gyp err! stack error: `c:\windows\microsoft.net\framework\v4.0.30319\msbuild.exe` failed exit code: 1 gyp err! stack @ childprocess.onexit (c:\program files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:267:23) gyp err! stack @ childprocess.emit (events.js:98:17) gyp err! stack @ process.childprocess._handle.onexit (child_process.js:809:12) gyp err! system windows_nt 6.1.7601 gyp err! command "node" "c:\\program files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp err! cwd c:\users\me\appdata\roaming\npm\node_modules\yo\node_modules\fullname\node_modules\fullname-native gyp err! node -v v0.10.29 gyp err! node-gyp -v v0.13.1 gyp err! not ok npm warn optional dep failed, continuing fullname-native@0.1.1
i have solved similar issue myself , thought go searching people asking it. need install visual studio 2012 or 2013. failing can install .net sdk found needed visual studio work.
i not expert understand there various modules in of generators use node-gyp uses native c++ compiler build. not present in standard build of windows , need install sdk or visual studio them. (this theorising issue btw).
for measure install both visual studio 2012 or 13 , .net sdk. @ point found visual studio 2015 not working me , had un-install , install 2013..
hope helps!
Comments
Post a Comment