-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HealthCheckTookKit - Package 'DocX' does not exist error on Windows 10 #3
Comments
Try using -skipdependencies when installing the package. so use: Install-Package DocX -skipdependencies it may be required to do the same with the https://www.nuget.org/packages/Microsoft.IO.RecyclableMemoryStream/ hope it helps |
Hello Raphael,
Thank you for your respond!
When I ran the "GenerateReport.ps1", within PowerShell, I got the error message from below.
Additionally, I tried the command per suggested in PowerShell to install DocX and got the error per below:
Any other suggestion and help would be greatly appreciated.
Thank you Raphael,
Bernard Nguyen
… On 05/16/2022 1:51 AM Raphael Perez ***@***.***> wrote:
Try using -skipdependencies when installing the package.
so use: Install-Package DocX -skipdependencies
it may be required to do the same with the https://www.nuget.org/packages/Microsoft.IO.RecyclableMemoryStream/
hope it helps
—
Reply to this email directly, view it on GitHub #3 (comment) , or unsubscribe https://github.com/notifications/unsubscribe-auth/AZFD6KU2Q4RR5FUWAWYC7Y3VKHV67ANCNFSM5V45DMNQ .
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
can you send the error messages please. |
To install the DOCX you need to register the provider which is nuget Your system may not support TLS 1.2 so please run this first in PS under and admin context [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 then run this Register-PackageSource -Name MyNuGet -Location https://www.nuget.org/api/v2 -ProviderName NuGet Then Install-Package DocX This will end up installing the DOCX that is required by the system to generate the report |
Hello Raphael,
Here are the error messages:
1. Ran the Install-Package DocX -skipdependencies with error below:
2. Ran the GenerateReport.ps1 with error below:
Thank you,
Bernard
… On 05/17/2022 1:34 AM Raphael Perez ***@***.***> wrote:
can you send the error messages please.
—
Reply to this email directly, view it on GitHub #3 (comment) , or unsubscribe https://github.com/notifications/unsubscribe-auth/AZFD6KVSDDEZSR5CD334NFTVKM4XDANCNFSM5V45DMNQ .
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Keep getting the Package 'DocX" error when tried to run the GeneratedReport.ps1.
I tried to follow the direction from https://www.nuget.org/packages/DocX without any result.
Can you please point me to the right direction?
Thank you,
The text was updated successfully, but these errors were encountered: