Adding canvas module dependency as a devDependency - at runtime its presence must be tested first because its installation may fail due to the absence of Cairo.