canvaskit-wasm on AWS Lambda

15 views
Skip to first unread message

Carlo

unread,
Jul 10, 2022, 1:22:27 PMJul 10
to skia-discuss
I tried to deploy canvaskit-wasm on AWS lambda. I went through all kinds of different flags for npm installation for both canvaskit and sharp and was finally able to run it without any errors. However now it just silently fails and stops at ...

  console.log('hello')
  try {
 const CanvasKit = await CanvasKitInit();
  console.log('hello2')

It never gets to 'hello2' and just ends silently? Does anyone know if Lambda is missing some infrastructure needed for this to run? I am devastated :(
Reply all
Reply to author
Forward
0 new messages