sumimakito / Awesome-qr.js

An awesome QR code generator written in JavaScript.
https://www.bitcat.cc/webapp/awesome-qr/index.html
Apache License 2.0
1.66k stars 252 forks source link

Not building on Google Cloud Functions because of the canvas dependency #17

Open elagrv opened 6 years ago

elagrv commented 6 years ago

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)

sumimakito commented 6 years ago

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

Sent from my iPhone

On 27 Jan 2018, at 11:01, elagrv notifications@github.com<mailto:notifications@github.com> 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.

walkerrandolphsmith commented 5 years ago

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

bmaclean commented 4 years ago

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