Closed INOPIAE closed 3 months ago
Chrome and Puppeteer had changes on how headless mode works. Delete Markdown2Pdf\Markdown2Pdf.Tests\bin\Debug\net8.0
and try running again.
(Also run an npm install
in the build dir after rebuild - some new tests require it)
Deleting the folder solved my problem. The but after running npm install I still have 4 Errors in the unit tests.
That's the tests which check if the local modules work, on my machine and in the Github Actions runner they're passing.
Did u run the command within the net8.0
directory?
Can you check if the node_modules
dir exists and if it contains packages?
Otherwise, what is the error message?
Yes running npm install
on the net8.0
directory in Markdown2Pdf.Tests\bin\Debug
worked. All test are now running without errors
Should this problem solving solution be documented somewhere or pointed out a bit clearer in the documentation. As I was not interrested in using the modules options I was not aware of the depedencies for the unit test.
It's described in the failure message, we can also add it to the documentation though.
We should add it to the documentaion in the "new" Wiki.
I ran in the same problematic again while updating from v.0.0.0 to 2.1.0
After deleting, rebuild and npm install it worked.
Does is it make sense to have a powerscript file to to the cleanups?
Added a script for the install, I think for the rebuild this is smth a dev can try by hand.
After update from v 1.3.0 to 2.0.0 I get this error.
Line 64 is
Dim strPDF = Await mdconvert.Convert(TxtFileDocu.Text)
I get the same error running the unit tests on branch main and develop
running with Microsoft Visual Studio Community 2022 (64-Bit) - Current Version 17.9.5