How to use canvas? #108
Unanswered
elementalTIMING
asked this question in
Help
Replies: 1 comment 4 replies
-
This looks to be a configuration issue; to help diagnose what's causing it, could I ask you to share your:
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After playing with the new TS template and the CLI I discovered a few issues related to
rollup
. My plan was to convert a plugin to the new structure. Here I need a function that imports external images and writes text to a canvas. So I didTo make this work I needed further to import:
Furthermore it was necessary to manually edit
../../../node_modules/canvas/package.json
. RollUp expected a;
at the end of the file. BTW: only this single fact that I have to do modifications of files insidenode_modules
is an absolute NO-GO to use this template.But now, after running
npm run build
, the following errors come up:My questions are now:
RollUp
?Thank you for any help!
Beta Was this translation helpful? Give feedback.
All reactions