npm fails saying "The build tools for VS2010 cannot be found" - msbuild

I'm trying to install Hubot on my local machine. Going well so far until I have encountered this error. The Error is pretty clear:
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
However I am running the Hubot Initialization command Yo Hubot. And I am not able to use the /m switch. Any suggestions or advice on what I should do?

Enabling parallel build will not solve you problem, that one is just an informative message. The real problem is you don't have the Visual Studio version that was used to create one of the components Hubot needs.
Try this: npm config set msvs_version 2012 (or 2013 if you have that one).

Related

Cmake configuration error, CMAKE_CONFIGURATION_TYPES Debug;Release;MinSizeRel;RelWithDebInfo

I am using windows 10 and have followed classic installation using the latest git bash inside the folder I want using option(1) copying the git text to the git bash and the cloning went normal no errors, I have also downloaded the latest CMake x64 version and followed the guide exactly and after I choose vs 15(2017) and hit finish I have an error message saying error in the configuration process, "project files may be invalid"
I already had git and CMake and all versions of vs installed but to make sure I redownloaded the newest versions and tried again no luck, I also recloned the repository no luck. after the error pops up there is a list item in CMake with name:CMAKE_CONFIGURATION_TYPES value:Debug;Release;MinSizeRel;RelWithDebInfo
Any help appreciated, if I figure it out I will update this thanks.
I found the issue, the pathing to my visual studio 15 2017 was incorrect, thanks peeps.

serverless issue on running deploy for AppSync: Error: No valid exports main found for 'node_modules/extract-files'

I'm unfamiliar with npm, only used it for basic serverless. Sorry if I'm being noobish.
I'm trying to get a basic serverless-appsync-plugin project up and running, but it turns up the issue in the title. My guess is the plugin cannot be detected, imported, or something along those lines, because when I comment out the plugin line in serverless.yml, serverless runs as expected, albeit still not doing what I need it to do.
This is after running npm install serverless AND npm install serverless-appsync-plugin.
Let me know if there's anything else I can add.
Any help would be greatly appreciated. Thanks!
My brew/node/npm stack was out of date, causing some modules to fail to load. Gonna mark as resolved.

Using Crashlytics on iOS with CMake

Our projects all use CMake, and Fabric seems to require a script run in XCode's build environment to extract information. CMake doesn't seem to have a way to add a run script build phase.
So, I tried running the script manually after setting the following manually from known values in CMake:
INFOPLIST_PATH
BUILT_PRODUCTS_DIR
DWARF_DSYM_FILE_NAME
DWARF_DSYM_FOLDER_PATH
PROJECT_DIR
As a result, there were no errors when running the script but ..also nothing happened. I just got a "Launching uploader in validation mode" and then the process exited.
Is it possible I could get a full run-down of what the program needs in order to run? Our projects are built on a build server so having to VNC in and launch xcode to build is not really an option.
Thanks in advance.
Since you're using CMake, instead of using the run script build phase, I'd use the upload-symbols script as that will be a more reliable way to upload the dSYMs to Crashlytics.

TFS 2013 BuildAgent hanging while building solution

We have a problem with the TFS build agent intermittently hanging while building our solution. We have some custom build actions, we're using eazfuscator, and we have some post build actions as well.
So it's quite possible we are causing the problem. We've identified that the solution (filled with C# projects) starts compiling but does not finish. What we need is the log file from MSBuild/csc, but because the solution never finishes, those logs never go to the build drop.
I need help finding the log file on the build agent. Any ideas?
Thanks!!
I suggest you to copy the MSBuild command which is generated in TFS build for code compilation, run the same command on build agent server manually from command prompt. Here, you will get more details to figure out the cause build for hanging issue.

SQL Server Management Studio 2012/ALL Tools Install thru Command Line

Ok I managed to find the site, but I'm getting tired and upset so I figured if anyone knew a command line to just install tools thru the command line. SSMS on the server is no longer allowing me to change Maintinance Plans, but it can run them just fine.
I've given up on resolving that issue after exhausting 3 hours worth of uninstall/reinstall/Register DLL/Blah/Blah/Blah. Go to install the tools on my assistance computer and the idiot uninstalled Internet Explorer so now you can't launch SQL Install from the disk.
So if anyone happens to know the syntax I'd appreciate it very much, I just need the tools I don't need anything else. SSDT/SSMS/ and the like.
http://msdn.microsoft.com/en-us/library/ms144259.aspx
Try using
setup.exe /ACTION="Install" /IACCEPTSQLSERVERLICENSETERMS /Q /INDICATEPROGRESS /FEATURES="Tools"