Skip to content

Electron + pdfjs/node-canvas - Compiled against a different Node.js version - NODE_MODULE_VERSION 108 vs NODE_MODULE_VERSION 109 #1

@GitMurf

Description

@GitMurf

First thing we need to solve is how to get pdfjs https://github.com/mozilla/pdf.js (with its node-canvas dependency as the issue) to be properly compiled against the correct version of Node that Electron is using since node-canvas is a native node module.

node-canvas (https://github.com/Automattic/node-canvas) does have pre-builds to use but there is not a version that matches to the Electron node version it seems.

image

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions