Run server.py
from: https://github.com/dliv/node-canvas
You will need to create a localhost.pem
in the root directory.
openssl req -new -x509 -keyout localhost.pem -out localhost.pem -days 365 -nodes
Change package.json to use the dliv
scoped package.
"@dliv/canvas": "^2.8.0",
Install - npm i
(or rush install
or whatever).
Change imports in the app to also use scoped package (Ctrl+F canvas)
Rebuild