3/25/2023 0 Comments Npm config set msvs version 2013But once I got to the build part that uses electron-rebuild, I found the same error returned but only during the electron-rebuild compiles, as follows:ġ3:15:32 c:\work-projects\my-application>c:\CM\elevated_cmd.exe /C "gulp erebuild > erebuild.log"ġ3:16:05 c:\work-projects\my-application>type erebuild.logġ3:16:05 Using gulpfile c:\work-projects\my-application\gulpfile.jsġ3:16:05 Starting 'erebuild'.ġ3:16:05 Finished 'erebuild' after 394 msġ3:16:05 Rebuilding modules against Electron didn't work: Error: gyp info it worked if it ends with okġ3:16:05 gyp info using gyp info using | win32 | 圆4ġ3:16:05 gyp info spawn C:\Python27\python.exeġ3:16:05 gyp info spawn args [ 'c:\\work-projects\\my-applicationġ3:16:05 gyp info spawn args 'binding.gyp',ġ3:16:05 gyp info spawn args 'msvs_version=auto',ġ3:16:05 gyp info spawn args 'c:\\work-projects\\my-application (the initial compiles that happen during npm install started working fine). Once I set the command above, things seemed to be working fine. Npm config set msvs_version 2015 -global Current Issue īut that was quickly remedied by this command setting: 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". To build using the v120 build tools, please install v120 build tools. To enable parallel build, please add the "/m" switch.Ģ2:22:38 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\(57,5): error MSB8020: The build tools for v120 (Platform Toolset = 'v120') cannot be found. 22:07:39 c:\work-projects\my-application>c:\CM\elevated_cmd.exe /C "npm install > npm_install.log"Ģ2:22:38 c:\work-projects\my-application>type npm_install.logĢ2:22:38 > install c:\work-projects\my-application\node_modules\libxmljs-mtĢ2:22:38 c:\work-projects\my-application\node_modules\libxmljs-mt>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\.\.\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )Ģ2:22:38 Building the projects in this solution one at a time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |