Advertisement
Guest User

npm i mmmagic failure

a guest
Jul 17th, 2015
366
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. C:\Users\Administrator\Documents\GitHub\NodeBB [v0.7.x]> npm i mmmagic
  2. npm WARN package.json nodebb@0.7.0 license should be a valid SPDX license expression
  3. \
  4. > mmmagic@0.3.14 install C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic
  5. > node-gyp rebuild
  6.  
  7.  
  8. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic>if not defined npm_config_node_gyp (node "C:\Program
  9. Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node reb
  10. uild )
  11. Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  12. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.props(28,3): error MSB4019: The imported project "
  13. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Redirect.props" was not found. Confirm that the pa
  14. th in the <Import> declaration is correct, and that the file exists on disk. [C:\Users\Administrator\Documents\GitHub\N
  15. odeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  16. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.props(28,3): error MSB4019: The imported project "
  17. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Redirect.props" was not found. Confirm that the pa
  18. th in the <Import> declaration is correct, and that the file exists on disk. [C:\Users\Administrator\Documents\GitHub\N
  19. odeBB\node_modules\mmmagic\build\deps\libmagic\pcre\libpcre.vcxproj]
  20. gyp ERR! build error
  21. gyp ERR! stack Error: `msbuild` failed with exit code: 1
  22. gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:2
  23. 69:23)
  24. gyp ERR! stack at ChildProcess.emit (events.js:110:17)
  25. gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
  26. gyp ERR! System Windows_NT 6.3.9600
  27. gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuil
  28. d"
  29. gyp ERR! cwd C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic
  30. gyp ERR! node -v v0.12.6
  31. gyp ERR! node-gyp -v v2.0.1
  32. gyp ERR! not ok
  33. npm ERR! Windows_NT 6.3.9600
  34. npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "i
  35. " "mmmagic"
  36. npm ERR! node v0.12.6
  37. npm ERR! npm v2.11.2
  38. npm ERR! code ELIFECYCLE
  39.  
  40. npm ERR! mmmagic@0.3.14 install: `node-gyp rebuild`
  41. npm ERR! Exit status 1
  42. npm ERR!
  43. npm ERR! Failed at the mmmagic@0.3.14 install script 'node-gyp rebuild'.
  44. npm ERR! This is most likely a problem with the mmmagic package,
  45. npm ERR! not with npm itself.
  46. npm ERR! Tell the author that this fails on your system:
  47. npm ERR! node-gyp rebuild
  48. npm ERR! You can get their info via:
  49. npm ERR! npm owner ls mmmagic
  50. npm ERR! There is likely additional logging output above.
  51.  
  52. npm ERR! Please include the following file with any support request:
  53. npm ERR! C:\Users\Administrator\Documents\GitHub\NodeBB\npm-debug.log
  54. C:\Users\Administrator\Documents\GitHub\NodeBB [v0.7.x]> npm i mmmagic
  55. npm WARN package.json nodebb@0.7.0 license should be a valid SPDX license expression
  56. \
  57. > mmmagic@0.3.14 install C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic
  58. > node-gyp rebuild
  59.  
  60.  
  61. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic>if not defined npm_config_node_gyp (node "C:\Program
  62. Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node reb
  63. uild )
  64. Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  65. apprentice.c
  66. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1925): warning C4005: 'snprintf': macro redefi
  67. nition [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  68. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\deps\libmagic\config\win\config.h(361): note: see
  69. previous definition of 'snprintf'
  70. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro defin
  71. ition of snprintf conflicts with Standard Library function declaration [C:\Users\Administrator\Documents\GitHub\NodeBB\
  72. node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  73. apptype.c
  74. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1925): warning C4005: 'snprintf': macro redefi
  75. nition [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  76. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\deps\libmagic\config\win\config.h(361): note: see
  77. previous definition of 'snprintf'
  78. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro defin
  79. ition of snprintf conflicts with Standard Library function declaration [C:\Users\Administrator\Documents\GitHub\NodeBB\
  80. node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  81. ascmagic.c
  82. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1925): warning C4005: 'snprintf': macro redefi
  83. nition [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  84. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\deps\libmagic\config\win\config.h(361): note: see
  85. previous definition of 'snprintf'
  86. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro defin
  87. ition of snprintf conflicts with Standard Library function declaration [C:\Users\Administrator\Documents\GitHub\NodeBB\
  88. node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  89. cdf.c
  90. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1925): warning C4005: 'snprintf': macro redefi
  91. nition [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  92. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\deps\libmagic\config\win\config.h(361): note: see
  93. previous definition of 'snprintf'
  94. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro defin
  95. ition of snprintf conflicts with Standard Library function declaration [C:\Users\Administrator\Documents\GitHub\NodeBB\
  96. node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  97. cdf_time.c
  98. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1925): warning C4005: 'snprintf': macro redefi
  99. nition [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  100. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\deps\libmagic\config\win\config.h(361): note: see
  101. previous definition of 'snprintf'
  102. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro defin
  103. ition of snprintf conflicts with Standard Library function declaration [C:\Users\Administrator\Documents\GitHub\NodeBB\
  104. node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  105. compress.c
  106. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1925): warning C4005: 'snprintf': macro redefi
  107. nition [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  108. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\deps\libmagic\config\win\config.h(361): note: see
  109. previous definition of 'snprintf'
  110. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro defin
  111. ition of snprintf conflicts with Standard Library function declaration [C:\Users\Administrator\Documents\GitHub\NodeBB\
  112. node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  113. encoding.c
  114. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1925): warning C4005: 'snprintf': macro redefi
  115. nition [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  116. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\deps\libmagic\config\win\config.h(361): note: see
  117. previous definition of 'snprintf'
  118. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro defin
  119. ition of snprintf conflicts with Standard Library function declaration [C:\Users\Administrator\Documents\GitHub\NodeBB\
  120. node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  121. fsmagic.c
  122. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1925): warning C4005: 'snprintf': macro redefi
  123. nition [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  124. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\deps\libmagic\config\win\config.h(361): note: see
  125. previous definition of 'snprintf'
  126. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro defin
  127. ition of snprintf conflicts with Standard Library function declaration [C:\Users\Administrator\Documents\GitHub\NodeBB\
  128. node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  129. funcs.c
  130. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1925): warning C4005: 'snprintf': macro redefi
  131. nition [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  132. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\deps\libmagic\config\win\config.h(361): note: see
  133. previous definition of 'snprintf'
  134. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro defin
  135. ition of snprintf conflicts with Standard Library function declaration [C:\Users\Administrator\Documents\GitHub\NodeBB\
  136. node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  137. is_tar.c
  138. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1925): warning C4005: 'snprintf': macro redefi
  139. nition [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  140. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\deps\libmagic\config\win\config.h(361): note: see
  141. previous definition of 'snprintf'
  142. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro defin
  143. ition of snprintf conflicts with Standard Library function declaration [C:\Users\Administrator\Documents\GitHub\NodeBB\
  144. node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  145. magic.c
  146. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1925): warning C4005: 'snprintf': macro redefi
  147. nition [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  148. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\deps\libmagic\config\win\config.h(361): note: see
  149. previous definition of 'snprintf'
  150. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro defin
  151. ition of snprintf conflicts with Standard Library function declaration [C:\Users\Administrator\Documents\GitHub\NodeBB\
  152. node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  153. print.c
  154. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1925): warning C4005: 'snprintf': macro redefi
  155. nition [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  156. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\deps\libmagic\config\win\config.h(361): note: see
  157. previous definition of 'snprintf'
  158. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro defin
  159. ition of snprintf conflicts with Standard Library function declaration [C:\Users\Administrator\Documents\GitHub\NodeBB\
  160. node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  161. readcdf.c
  162. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1925): warning C4005: 'snprintf': macro redefi
  163. nition [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  164. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\deps\libmagic\config\win\config.h(361): note: see
  165. previous definition of 'snprintf'
  166. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro defin
  167. ition of snprintf conflicts with Standard Library function declaration [C:\Users\Administrator\Documents\GitHub\NodeBB\
  168. node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  169. readelf.c
  170. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1925): warning C4005: 'snprintf': macro redefi
  171. nition [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  172. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\deps\libmagic\config\win\config.h(361): note: see
  173. previous definition of 'snprintf'
  174. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro defin
  175. ition of snprintf conflicts with Standard Library function declaration [C:\Users\Administrator\Documents\GitHub\NodeBB\
  176. node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  177. softmagic.c
  178. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1925): warning C4005: 'snprintf': macro redefi
  179. nition [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  180. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\deps\libmagic\config\win\config.h(361): note: see
  181. previous definition of 'snprintf'
  182. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro defin
  183. ition of snprintf conflicts with Standard Library function declaration [C:\Users\Administrator\Documents\GitHub\NodeBB\
  184. node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  185. fmtcheck.c
  186. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1925): warning C4005: 'snprintf': macro redefi
  187. nition [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  188. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\deps\libmagic\config\win\config.h(361): note: see
  189. previous definition of 'snprintf'
  190. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro defin
  191. ition of snprintf conflicts with Standard Library function declaration [C:\Users\Administrator\Documents\GitHub\NodeBB\
  192. node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  193. asctime_r.c
  194. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1925): warning C4005: 'snprintf': macro redefi
  195. nition [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  196. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\deps\libmagic\config\win\config.h(361): note: see
  197. previous definition of 'snprintf'
  198. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro defin
  199. ition of snprintf conflicts with Standard Library function declaration [C:\Users\Administrator\Documents\GitHub\NodeBB\
  200. node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  201. asprintf.c
  202. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1925): warning C4005: 'snprintf': macro redefi
  203. nition [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  204. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\deps\libmagic\config\win\config.h(361): note: see
  205. previous definition of 'snprintf'
  206. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro defin
  207. ition of snprintf conflicts with Standard Library function declaration [C:\Users\Administrator\Documents\GitHub\NodeBB\
  208. node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  209. ctime_r.c
  210. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1925): warning C4005: 'snprintf': macro redefi
  211. nition [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  212. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\deps\libmagic\config\win\config.h(361): note: see
  213. previous definition of 'snprintf'
  214. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro defin
  215. ition of snprintf conflicts with Standard Library function declaration [C:\Users\Administrator\Documents\GitHub\NodeBB\
  216. node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  217. getline.c
  218. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1925): warning C4005: 'snprintf': macro redefi
  219. nition [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  220. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\deps\libmagic\config\win\config.h(361): note: see
  221. previous definition of 'snprintf'
  222. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro defin
  223. ition of snprintf conflicts with Standard Library function declaration [C:\Users\Administrator\Documents\GitHub\NodeBB\
  224. node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  225. Compiling...
  226. pread.c
  227. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1925): warning C4005: 'snprintf': macro redefi
  228. nition [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  229. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\deps\libmagic\config\win\config.h(361): note: see
  230. previous definition of 'snprintf'
  231. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro defin
  232. ition of snprintf conflicts with Standard Library function declaration [C:\Users\Administrator\Documents\GitHub\NodeBB\
  233. node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  234. strcasestr.c
  235. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1925): warning C4005: 'snprintf': macro redefi
  236. nition [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  237. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\deps\libmagic\config\win\config.h(361): note: see
  238. previous definition of 'snprintf'
  239. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro defin
  240. ition of snprintf conflicts with Standard Library function declaration [C:\Users\Administrator\Documents\GitHub\NodeBB\
  241. node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  242. strlcat.c
  243. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1925): warning C4005: 'snprintf': macro redefi
  244. nition [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  245. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\deps\libmagic\config\win\config.h(361): note: see
  246. previous definition of 'snprintf'
  247. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro defin
  248. ition of snprintf conflicts with Standard Library function declaration [C:\Users\Administrator\Documents\GitHub\NodeBB\
  249. node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  250. strlcpy.c
  251. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1925): warning C4005: 'snprintf': macro redefi
  252. nition [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  253. C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\deps\libmagic\config\win\config.h(361): note: see
  254. previous definition of 'snprintf'
  255. C:\Program Files (x86)\Windows Kits\10\Include\10.0.10056.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro defin
  256. ition of snprintf conflicts with Standard Library function declaration [C:\Users\Administrator\Documents\GitHub\NodeBB\
  257. node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  258. vasprintf.c
  259. ..\..\..\deps\libmagic\src\vasprintf.c(36): warning C4013: 'vsnprintf' undefined; assuming extern returning int [C:\Use
  260. rs\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\libmagic.vcxproj]
  261. pcre_byte_order.c
  262. pcre_chartables.c
  263. pcre_compile.c
  264. ..\..\..\..\deps\libmagic\pcre\pcre_compile.c(4145): warning C4244: '+=': conversion from '__int64' to 'int', possible
  265. loss of data [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\pcre\libpcre.vcxp
  266. roj]
  267. ..\..\..\..\deps\libmagic\pcre\pcre_compile.c(5250): warning C4244: 'initializing': conversion from '__int64' to 'int',
  268. possible loss of data [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\pcre\li
  269. bpcre.vcxproj]
  270. ..\..\..\..\deps\libmagic\pcre\pcre_compile.c(5251): warning C4244: 'initializing': conversion from '__int64' to 'int',
  271. possible loss of data [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\pcre\li
  272. bpcre.vcxproj]
  273. ..\..\..\..\deps\libmagic\pcre\pcre_compile.c(5332): warning C4244: 'initializing': conversion from '__int64' to 'int',
  274. possible loss of data [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\pcre\li
  275. bpcre.vcxproj]
  276. ..\..\..\..\deps\libmagic\pcre\pcre_compile.c(5333): warning C4244: 'initializing': conversion from '__int64' to 'int',
  277. possible loss of data [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\pcre\li
  278. bpcre.vcxproj]
  279. pcre_config.c
  280. pcre_dfa_exec.c
  281. ..\..\..\..\deps\libmagic\pcre\pcre_dfa_exec.c(1662): warning C4146: unary minus operator applied to unsigned type, res
  282. ult still unsigned [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\pcre\libpcr
  283. e.vcxproj]
  284. ..\..\..\..\deps\libmagic\pcre\pcre_dfa_exec.c(1708): warning C4146: unary minus operator applied to unsigned type, res
  285. ult still unsigned [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\pcre\libpcr
  286. e.vcxproj]
  287. ..\..\..\..\deps\libmagic\pcre\pcre_dfa_exec.c(1752): warning C4146: unary minus operator applied to unsigned type, res
  288. ult still unsigned [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\pcre\libpcr
  289. e.vcxproj]
  290. ..\..\..\..\deps\libmagic\pcre\pcre_dfa_exec.c(1793): warning C4146: unary minus operator applied to unsigned type, res
  291. ult still unsigned [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\pcre\libpcr
  292. e.vcxproj]
  293. pcre_exec.c
  294. ..\..\..\..\deps\libmagic\pcre\pcre_exec.c(656): warning C4244: 'initializing': conversion from '__int64' to 'int', pos
  295. sible loss of data [C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\pcre\libpcr
  296. e.vcxproj]
  297. pcre_fullinfo.c
  298. pcre_get.c
  299. pcre_globals.c
  300. pcre_jit_compile.c
  301. c:\users\administrator\documents\github\nodebb\node_modules\mmmagic\deps\libmagic\pcre\sljit\sljitNativeX86_64.c(388):
  302. warning C4244: '=': conversion from 'sljit_sw' to 'sljit_si', possible loss of data [C:\Users\Administrator\Documents\G
  303. itHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\pcre\libpcre.vcxproj]
  304. c:\users\administrator\documents\github\nodebb\node_modules\mmmagic\deps\libmagic\pcre\sljit\sljitNativeX86_64.c(584):
  305. warning C4244: '=': conversion from 'sljit_sw' to 'sljit_ub', possible loss of data [C:\Users\Administrator\Documents\G
  306. itHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\pcre\libpcre.vcxproj]
  307. c:\users\administrator\documents\github\nodebb\node_modules\mmmagic\deps\libmagic\pcre\sljit\sljitNativeX86_64.c(586):
  308. warning C4244: '=': conversion from 'sljit_sw' to 'sljit_si', possible loss of data [C:\Users\Administrator\Documents\G
  309. itHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\pcre\libpcre.vcxproj]
  310. c:\users\administrator\documents\github\nodebb\node_modules\mmmagic\deps\libmagic\pcre\sljit\sljitNativeX86_64.c(593):
  311. warning C4244: '=': conversion from 'sljit_sw' to 'sljit_ub', possible loss of data [C:\Users\Administrator\Documents\G
  312. itHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\pcre\libpcre.vcxproj]
  313. c:\users\administrator\documents\github\nodebb\node_modules\mmmagic\deps\libmagic\pcre\sljit\sljitNativeX86_64.c(599):
  314. warning C4244: '=': conversion from 'sljit_sw' to 'sljit_si', possible loss of data [C:\Users\Administrator\Documents\G
  315. itHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\pcre\libpcre.vcxproj]
  316. c:\users\administrator\documents\github\nodebb\node_modules\mmmagic\deps\libmagic\pcre\sljit\sljitNativeX86_64.c(605):
  317. warning C4244: '=': conversion from 'sljit_sw' to 'sljit_ub', possible loss of data [C:\Users\Administrator\Documents\G
  318. itHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\pcre\libpcre.vcxproj]
  319. c:\users\administrator\documents\github\nodebb\node_modules\mmmagic\deps\libmagic\pcre\sljit\sljitNativeX86_64.c(607):
  320. warning C4244: '=': conversion from 'sljit_sw' to 'short', possible loss of data [C:\Users\Administrator\Documents\GitH
  321. ub\NodeBB\node_modules\mmmagic\build\deps\libmagic\pcre\libpcre.vcxproj]
  322. c:\users\administrator\documents\github\nodebb\node_modules\mmmagic\deps\libmagic\pcre\sljit\sljitNativeX86_64.c(609):
  323. warning C4244: '=': conversion from 'sljit_sw' to 'sljit_si', possible loss of data [C:\Users\Administrator\Documents\G
  324. itHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\pcre\libpcre.vcxproj]
  325. c:\users\administrator\documents\github\nodebb\node_modules\mmmagic\deps\libmagic\pcre\sljit\sljitNativeX86_64.c(742):
  326. warning C4244: '=': conversion from 'sljit_sw' to 'sljit_si', possible loss of data [C:\Users\Administrator\Documents\G
  327. itHub\NodeBB\node_modules\mmmagic\build\deps\libmagic\pcre\libpcre.vcxproj]
  328. pcre_maketables.c
  329. pcre_newline.c
  330. pcre_ord2utf8.c
  331. pcre_refcount.c
  332. pcre_string_utils.c
  333. pcre_study.c
  334. pcre_tables.c
  335. pcre_ucd.c
  336. pcre_valid_utf8.c
  337. pcre_version.c
  338. Compiling...
  339. pcre_xclass.c
  340. pcreposix.c
  341. libpcre.vcxproj -> C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic\build\Release\\libpcre.lib
  342. gyp ERR! build error
  343. gyp ERR! stack Error: `msbuild` failed with exit code: 1
  344. gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:2
  345. 69:23)
  346. gyp ERR! stack at ChildProcess.emit (events.js:110:17)
  347. gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
  348. gyp ERR! System Windows_NT 6.3.9600
  349. gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuil
  350. d"
  351. gyp ERR! cwd C:\Users\Administrator\Documents\GitHub\NodeBB\node_modules\mmmagic
  352. gyp ERR! node -v v0.12.6
  353. gyp ERR! node-gyp -v v2.0.1
  354. gyp ERR! not ok
  355. npm ERR! Windows_NT 6.3.9600
  356. npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "i
  357. " "mmmagic"
  358. npm ERR! node v0.12.6
  359. npm ERR! npm v2.11.2
  360. npm ERR! code ELIFECYCLE
  361.  
  362. npm ERR! mmmagic@0.3.14 install: `node-gyp rebuild`
  363. npm ERR! Exit status 1
  364. npm ERR!
  365. npm ERR! Failed at the mmmagic@0.3.14 install script 'node-gyp rebuild'.
  366. npm ERR! This is most likely a problem with the mmmagic package,
  367. npm ERR! not with npm itself.
  368. npm ERR! Tell the author that this fails on your system:
  369. npm ERR! node-gyp rebuild
  370. npm ERR! You can get their info via:
  371. npm ERR! npm owner ls mmmagic
  372. npm ERR! There is likely additional logging output above.
  373.  
  374. npm ERR! Please include the following file with any support request:
  375. npm ERR! C:\Users\Administrator\Documents\GitHub\NodeBB\npm-debug.log
Advertisement
RAW Paste Data Copied
Advertisement