This is a workaround for an issue in Wiki.js v3-alpha
(and likely earlier versions) where a "Cannot find package 'pako'" error occurs when trying to render the page. As discussed in requarks/wiki#7096.
The quickest way to resolve this is to manually install the pako package within the Wiki.js Docker container.
Using docker-compose
:
docker-compose exec wiki npm install pako
After running this command, you may need to re-save the affected page to trigger a successful render.