Guest User

Error

a guest
Aug 8th, 2019
52
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. × Rebuild Failed
  2.  
  3. An unhandled error occurred inside electron-rebuild
  4. gyp info it worked if it ends with ok
  5. gyp info using node-gyp@4.0.0
  6. gyp info using node@10.14.1 | win32 | x64
  7. gyp http GET https://electronjs.org/headers/v5.0.1/node-v5.0.1-headers.tar.gz
  8. gyp http 200 https://electronjs.org/headers/v5.0.1/node-v5.0.1-headers.tar.gz
  9. gyp http GET https://electronjs.org/headers/v5.0.1/SHASUMS256.txt
  10. gyp http GET https://electronjs.org/headers/v5.0.1/win-x86/node.lib
  11. gyp http GET https://electronjs.org/headers/v5.0.1/win-x64/node.lib
  12. gyp http 200 https://electronjs.org/headers/v5.0.1/SHASUMS256.txt
  13. gyp http 200 https://electronjs.org/headers/v5.0.1/win-x64/node.lib
  14. gyp http 200 https://electronjs.org/headers/v5.0.1/win-x86/node.lib
  15. gyp info spawn D:\Python27\python.exe
  16. gyp info spawn args [ 'C:\\Users\\Elijah\\PhpstormProjects\\Random\\GroceriesLister-master\\node_modules\\node-gyp\\gyp\\gyp_main.py',
  17. gyp info spawn args 'binding.gyp',
  18. gyp info spawn args '-f',
  19. gyp info spawn args 'msvs',
  20. gyp info spawn args '-G',
  21. gyp info spawn args 'msvs_version=2015',
  22. gyp info spawn args '-I',
  23. gyp info spawn args 'C:\\Users\\Elijah\\PhpstormProjects\\Random\\GroceriesLister-master\\node_modules\\sqlite3\\build\\config.gypi',
  24. gyp info spawn args '-I',
  25. gyp info spawn args 'C:\\Users\\Elijah\\PhpstormProjects\\Random\\GroceriesLister-master\\node_modules\\node-gyp\\addon.gypi',
  26. gyp info spawn args '-I',
  27. gyp info spawn args 'C:\\Users\\Elijah\\.electron-gyp\\5.0.1\\include\\node\\common.gypi',
  28. gyp info spawn args '-Dlibrary=shared_library',
  29. gyp info spawn args '-Dvisibility=default',
  30. gyp info spawn args '-Dnode_root_dir=C:\\Users\\Elijah\\.electron-gyp\\5.0.1',
  31. gyp info spawn args '-Dnode_gyp_dir=C:\\Users\\Elijah\\PhpstormProjects\\Random\\GroceriesLister-master\\node_modules\\node-gyp',
  32. gyp info spawn args '-Dnode_lib_file=C:\\Users\\Elijah\\.electron-gyp\\5.0.1\\<(target_arch)\\node.lib',
  33. gyp info spawn args '-Dmodule_root_dir=C:\\Users\\Elijah\\PhpstormProjects\\Random\\GroceriesLister-master\\node_modules\\sqlite3',
  34. gyp info spawn args '-Dnode_engine=v8',
  35. gyp info spawn args '--depth=.',
  36. gyp info spawn args '--no-parallel',
  37. gyp info spawn args '--generator-output',
  38. gyp info spawn args 'C:\\Users\\Elijah\\PhpstormProjects\\Random\\GroceriesLister-master\\node_modules\\sqlite3\\build',
  39. gyp info spawn args '-Goutput_dir=.' ]
  40. gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe
  41. gyp info spawn args [ 'build/binding.sln',
  42. gyp info spawn args '/clp:Verbosity=minimal',
  43. gyp info spawn args '/nologo',
  44. gyp info spawn args '/p:Configuration=Release;Platform=x64' ]
  45. Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  46. C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Platform.targets(67,5): error MSB8020: The build tools for v140 (Platform Toolset = 'v140') cannot be found. To build using the v140 build tools, please install v140 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [C:\Users\Elijah\PhpstormProjects\Random\GroceriesLister-master\node_modules\sqlite3\build\deps\action_before_build.vcxproj]
  47. gyp ERR! build error
  48. gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1
  49. gyp ERR! stack at ChildProcess.onExit (C:\Users\Elijah\PhpstormProjects\Random\GroceriesLister-master\node_modules\node-gyp\lib\build.js:262:23)
  50. gyp ERR! stack at ChildProcess.emit (events.js:182:13)
  51. gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
  52. gyp ERR! System Windows_NT 10.0.17134
  53. gyp ERR! command "D:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Elijah\\PhpstormProjects\\Random\\GroceriesLister-master\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--target=5.0.1" "--arch=x64" "--dist-url=https://electronjs.org/headers" "--build-from-source" "--module_name=node_sqlite3" "--module_path=C:\\Users\\Elijah\\PhpstormProjects\\Random\\GroceriesLister-master\\node_modules\\sqlite3\\lib\\binding\\electron-v5.0-win32-x64" "--host=https://mapbox-node-binary.s3.amazonaws.com" "--remote_path=./{name}/v4.0.9/{toolset}/" "--package_name=electron-v5.0-win32-x64.tar.gz"
  54. gyp ERR! cwd C:\Users\Elijah\PhpstormProjects\Random\GroceriesLister-master\node_modules\sqlite3
  55. gyp ERR! node -v v10.14.1
  56. gyp ERR! node-gyp -v v4.0.0
  57. gyp ERR! not ok
  58.  
  59. Failed with exit code: 1
  60.  
  61. Error: gyp info it worked if it ends with ok
  62. gyp info using node-gyp@4.0.0
  63. gyp info using node@10.14.1 | win32 | x64
  64. gyp http GET https://electronjs.org/headers/v5.0.1/node-v5.0.1-headers.tar.gz
  65. gyp http 200 https://electronjs.org/headers/v5.0.1/node-v5.0.1-headers.tar.gz
  66. gyp http GET https://electronjs.org/headers/v5.0.1/SHASUMS256.txt
  67. gyp http GET https://electronjs.org/headers/v5.0.1/win-x86/node.lib
  68. gyp http GET https://electronjs.org/headers/v5.0.1/win-x64/node.lib
  69. gyp http 200 https://electronjs.org/headers/v5.0.1/SHASUMS256.txt
  70. gyp http 200 https://electronjs.org/headers/v5.0.1/win-x64/node.lib
  71. gyp http 200 https://electronjs.org/headers/v5.0.1/win-x86/node.lib
  72. gyp info spawn D:\Python27\python.exe
  73. gyp info spawn args [ 'C:\\Users\\Elijah\\PhpstormProjects\\Random\\GroceriesLister-master\\node_modules\\node-gyp\\gyp\\gyp_main.py',
  74. gyp info spawn args 'binding.gyp',
  75. gyp info spawn args '-f',
  76. gyp info spawn args 'msvs',
  77. gyp info spawn args '-G',
  78. gyp info spawn args 'msvs_version=2015',
  79. gyp info spawn args '-I',
  80. gyp info spawn args 'C:\\Users\\Elijah\\PhpstormProjects\\Random\\GroceriesLister-master\\node_modules\\sqlite3\\build\\config.gypi',
  81. gyp info spawn args '-I',
  82. gyp info spawn args 'C:\\Users\\Elijah\\PhpstormProjects\\Random\\GroceriesLister-master\\node_modules\\node-gyp\\addon.gypi',
  83. gyp info spawn args '-I',
  84. gyp info spawn args 'C:\\Users\\Elijah\\.electron-gyp\\5.0.1\\include\\node\\common.gypi',
  85. gyp info spawn args '-Dlibrary=shared_library',
  86. gyp info spawn args '-Dvisibility=default',
  87. gyp info spawn args '-Dnode_root_dir=C:\\Users\\Elijah\\.electron-gyp\\5.0.1',
  88. gyp info spawn args '-Dnode_gyp_dir=C:\\Users\\Elijah\\PhpstormProjects\\Random\\GroceriesLister-master\\node_modules\\node-gyp',
  89. gyp info spawn args '-Dnode_lib_file=C:\\Users\\Elijah\\.electron-gyp\\5.0.1\\<(target_arch)\\node.lib',
  90. gyp info spawn args '-Dmodule_root_dir=C:\\Users\\Elijah\\PhpstormProjects\\Random\\GroceriesLister-master\\node_modules\\sqlite3',
  91. gyp info spawn args '-Dnode_engine=v8',
  92. gyp info spawn args '--depth=.',
  93. gyp info spawn args '--no-parallel',
  94. gyp info spawn args '--generator-output',
  95. gyp info spawn args 'C:\\Users\\Elijah\\PhpstormProjects\\Random\\GroceriesLister-master\\node_modules\\sqlite3\\build',
  96. gyp info spawn args '-Goutput_dir=.' ]
  97. gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe
  98. gyp info spawn args [ 'build/binding.sln',
  99. gyp info spawn args '/clp:Verbosity=minimal',
  100. gyp info spawn args '/nologo',
  101. gyp info spawn args '/p:Configuration=Release;Platform=x64' ]
  102. Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  103. C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Platform.targets(67,5): error MSB8020: The build tools for v140 (Platform Toolset = 'v140') cannot be found. To build using the v140 build tools, please install v140 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [C:\Users\Elijah\PhpstormProjects\Random\GroceriesLister-master\node_modules\sqlite3\build\deps\action_before_build.vcxproj]
  104. gyp ERR! build error
  105. gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1
  106. gyp ERR! stack at ChildProcess.onExit (C:\Users\Elijah\PhpstormProjects\Random\GroceriesLister-master\node_modules\node-gyp\lib\build.js:262:23)
  107. gyp ERR! stack at ChildProcess.emit (events.js:182:13)
  108. gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
  109. gyp ERR! System Windows_NT 10.0.17134
  110. gyp ERR! command "D:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Elijah\\PhpstormProjects\\Random\\GroceriesLister-master\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--target=5.0.1" "--arch=x64" "--dist-url=https://electronjs.org/headers" "--build-from-source" "--module_name=node_sqlite3" "--module_path=C:\\Users\\Elijah\\PhpstormProjects\\Random\\GroceriesLister-master\\node_modules\\sqlite3\\lib\\binding\\electron-v5.0-win32-x64" "--host=https://mapbox-node-binary.s3.amazonaws.com" "--remote_path=./{name}/v4.0.9/{toolset}/" "--package_name=electron-v5.0-win32-x64.tar.gz"
  111. gyp ERR! cwd C:\Users\Elijah\PhpstormProjects\Random\GroceriesLister-master\node_modules\sqlite3
  112. gyp ERR! node -v v10.14.1
  113. gyp ERR! node-gyp -v v4.0.0
  114. gyp ERR! not ok
  115.  
  116. Failed with exit code: 1
  117. at SafeSubscriber._error (C:\Users\Elijah\PhpstormProjects\Random\GroceriesLister-master\node_modules\spawn-rx\lib\src\index.js:267:84)
  118. at SafeSubscriber.__tryOrUnsub (C:\Users\Elijah\PhpstormProjects\Random\GroceriesLister-master\node_modules\rxjs\internal\Subscriber.js:205:16)
  119. at SafeSubscriber.error (C:\Users\Elijah\PhpstormProjects\Random\GroceriesLister-master\node_modules\rxjs\internal\Subscriber.js:156:26)
  120. at Subscriber._error (C:\Users\Elijah\PhpstormProjects\Random\GroceriesLister-master\node_modules\rxjs\internal\Subscriber.js:92:26)
  121. at Subscriber.error (C:\Users\Elijah\PhpstormProjects\Random\GroceriesLister-master\node_modules\rxjs\internal\Subscriber.js:72:18)
  122. at MapSubscriber.Subscriber._error (C:\Users\Elijah\PhpstormProjects\Random\GroceriesLister-master\node_modules\rxjs\internal\Subscriber.js:92:26)
  123. at MapSubscriber.Subscriber.error (C:\Users\Elijah\PhpstormProjects\Random\GroceriesLister-master\node_modules\rxjs\internal\Subscriber.js:72:18)
  124. at SafeSubscriber._next (C:\Users\Elijah\PhpstormProjects\Random\GroceriesLister-master\node_modules\spawn-rx\lib\src\index.js:242:65)
  125. at SafeSubscriber.__tryOrUnsub (C:\Users\Elijah\PhpstormProjects\Random\GroceriesLister-master\node_modules\rxjs\internal\Subscriber.js:205:16)
  126. at SafeSubscriber.next (C:\Users\Elijah\PhpstormProjects\Random\GroceriesLister-master\node_modules\rxjs\internal\Subscriber.js:143:22)
RAW Paste Data