ncc
ncc copied to clipboard
node-chrome-canvas || a simple to use and performant HTML5 canvas for Node.js
On Raspbian buster, ncc is able to launch chromium and it claims to be running the devtools API on the specified port, but I get connection failed messages, even after...
No errors are logged, it just opens Chrome window and there is blank canvas of default size, it seems like Chrome doesn't receive any commands from Node.
a lot of issues in node-canvas deal with installation problems: https://github.com/Automattic/node-canvas/issues/919 https://github.com/Automattic/node-canvas/issues/913 https://github.com/Automattic/node-canvas/issues/911 https://github.com/Automattic/node-canvas/issues/905 https://github.com/Automattic/node-canvas/issues/901 https://github.com/Automattic/node-canvas/issues/890 https://github.com/Automattic/node-canvas/issues/871 https://github.com/Automattic/node-canvas/issues/854 https://github.com/Automattic/node-canvas/issues/852 https://github.com/Automattic/node-canvas/issues/796 https://github.com/Automattic/node-canvas/issues/788 https://github.com/Automattic/node-canvas/issues/779 https://github.com/Automattic/node-canvas/issues/771 https://github.com/Automattic/node-canvas/issues/768 https://github.com/Automattic/node-canvas/issues/755 https://github.com/Automattic/node-canvas/issues/752 https://github.com/Automattic/node-canvas/issues/751 https://github.com/Automattic/node-canvas/issues/745 https://github.com/Automattic/node-canvas/issues/731 With...
` const img = await new Promise((resolve, reject) => { ncc.createImage(src, resolve, reject); }); // .... img._remote = null; // "TypeError: Cannot redefine property: _uid" file:ncc.ts; line: 1105 `