Awesome-qr.js icon indicating copy to clipboard operation
Awesome-qr.js copied to clipboard

Not building on Google Cloud Functions because of the canvas dependency

Open elagrv opened this issue 6 years ago • 3 comments

Is it possible to change the package dependency from "canvas" to "canvas-prebuilt"?

I am trying to build a project on Google Cloud Functions but I get an error because the "canvas" package is not set for this environment. In order to work, the dependency needs to be set to this package: "canvas-prebuilt" (https://www.npmjs.com/package/canvas-prebuilt)

elagrv avatar Jan 27 '18 03:01 elagrv

Thanks for your feedback. I’ll take a look into this issue.

Sent from my iPhone

On 27 Jan 2018, at 11:01, elagrv <[email protected]mailto:[email protected]> wrote:

Is it possible to change the package dependency from "canvas" to "canvas-prebuilt"?

I am trying to build a project on Google Cloud Functions but I get an error because the "canvas" package is not set for this environment. In order to work, the dependency needs to be set to this package: "canvas-prebuilt" (https://www.npmjs.com/package/canvas-prebuilt)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/SumiMakito/Awesome-qr.js/issues/17, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFCGVAio1tbWwo8vvJjeFyoWatt9NKTEks5tOpGWgaJpZM4RvHjR.

sumimakito avatar Jan 27 '18 14:01 sumimakito

Available as of 1.2.1, however it has not be deployed to npm registry yet.

walkerrandolphsmith avatar Nov 04 '18 03:11 walkerrandolphsmith

@walkerrandolphsmith is there an ETA to deploy the latest patch to NPM?

bmaclean avatar Mar 03 '20 18:03 bmaclean