mmanela / chutzpah

Chutzpah is an open source JavaScript test runner which enables you to run unit tests using QUnit, Jasmine, Mocha and TypeScript.
http://mmanela.github.io/chutzpah/
Apache License 2.0
550 stars 142 forks source link

Unable to build Chutzpah #801

Closed ruffin-- closed 2 years ago

ruffin-- commented 3 years ago

Cloned. Opened in Visual Studio 2019. F6.

Build started...
NuGet Package restore failed for project VS.Common: Unable to find version '9.0.4' of package 'VSSDK.IDE.9'.
  C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\: Package 'VSSDK.IDE.9.9.0.4' is not found on source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\'.
  https://api.nuget.org/v3/index.json: 
  https://api.nuget.org/v3/index.json: 
. Please see Error List window for detailed warnings and errors.
NuGet Package restore failed for project VS.Common: Unable to find version '7.0.4' of package 'VSSDK.IDE'.
  C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\: Package 'VSSDK.IDE.7.0.4' is not found on source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\'.
  https://api.nuget.org/v3/index.json: 
  https://api.nuget.org/v3/index.json: 
. Please see Error List window for detailed warnings and errors.
NuGet Package restore failed for project VS.Common: Unable to find version '8.0.4' of package 'VSSDK.IDE.8'.
  C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\: Package 'VSSDK.IDE.8.8.0.4' is not found on source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\'.
  https://api.nuget.org/v3/index.json: 
  https://api.nuget.org/v3/index.json: 
. Please see Error List window for detailed warnings and errors

Etc, etc.

I've tried a few methods of debugging, including installing the nuget cli and trying nuget restore -NoCache -NonInteractive .\Chutzpah.VS.sln, but no dice yet; same error appears.

Is there something obvious that I'm doing incorrectly? Are these dated nuget packages that shouldn't be available now? Should those references be updated? I do have Visual Studio extension development installed in VS 2019. Is there something similar that needs installing?

icnocop commented 3 years ago

https://github.com/mmanela/chutzpah#building-the-code

Building the code

1. Clone the repo
2. One time run .\build.bat install - This will install all dependencies
3. Run .\build - This will build all the code and run tests.
4. Open solution Chutzpah.NoVS.sln for normal changes
mmanela commented 3 years ago

@ruffin-- Let me know if that helps

F-Forget commented 3 years ago

I tried building using @icnocop link, which is the official link for the building documentation.

.\build.bat install worked but then .\build just doesn't work.

I'm getting a couple of errors such as :

Chutzpah.Facts.Integration.Coverage.Will_run_coverage_from_chutzpah_amd_samples(scriptPath: "Samples\RequireJS\TypeScript\chutzpah.json", count: 2) [FAIL]

ChutzpahBuildIssue

Ending with more logs and errors.

Could we get any help @mmanela?

iprak commented 2 years ago

The build command is case sensitive .. try build Install.