Open ynx0 opened 5 years ago
same ^
i love the idea it but i doesn't work :((
same
It appears that this line of code fails because the canvas is not initialized properly. Any thoughts @manniefesto ?
If anyone is interested, I ended up fixing the problems with this module and adapting it for https://github.com/zcaceres/hypermancer
i got this error too, after installing the theme...
When running hyper with the
verbose
option, the following is outputted:Console Output
``` [18820:0509/201451.478:INFO:CONSOLE(49)] "Uncaught TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or SVGImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or OffscreenCanvas)'", source: C:\Users\lux\AppData\Roaming\Hyper\.hyper_plugins\node_modules\hyper-cyberpunk\index.js (49) [18820:0509/201451.528:INFO:CONSOLE(49)] "Uncaught TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or SVGImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or OffscreenCanvas)'", source: C:\Users\lux\AppData\Roaming\Hyper\.hyper_plugins\node_modules\hyper-cyberpunk\index.js (49) No matching notification messages [18820:0509/201453.608:INFO:CONSOLE(49)] "Uncaught TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or SVGImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or OffscreenCanvas)'", source: C:\Users\lux\AppData\Roaming\Hyper\.hyper_plugins\node_modules\hyper-cyberpunk\index.js (49) [18820:0509/201453.800:INFO:CONSOLE(49)] "Uncaught TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or SVGImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or OffscreenCanvas)'", source: C:\Users\lux\AppData\Roaming\Hyper\.hyper_plugins\node_modules\hyper-cyberpunk\index.js (49) [18820:0509/201453.885:INFO:CONSOLE(49)] "Uncaught TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or SVGImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or OffscreenCanvas)'", source: C:\Users\lux\AppData\Roaming\Hyper\.hyper_plugins\node_modules\hyper-cyberpunk\index.js (49) [18820:0509/201453.947:INFO:CONSOLE(49)] "Uncaught TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or SVGImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or OffscreenCanvas)'", source: C:\Users\lux\AppData\Roaming\Hyper\.hyper_plugins\node_modules\hyper-cyberpunk\index.js (49) [18820:0509/201453.981:INFO:CONSOLE(49)] "Uncaught TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or SVGImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or OffscreenCanvas)'", source: C:\Users\lux\AppData\Roaming\Hyper\.hyper_plugins\node_modules\hyper-cyberpunk\index.js (49) [18820:0509/201454.143:INFO:CONSOLE(49)] "Uncaught TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or SVGImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or OffscreenCanvas)'", source: C:\Users\lux\AppData\Roaming\Hyper\.hyper_plugins\node_modules\hyper-cyberpunk\index.js (49) [18820:0509/201454.855:INFO:CONSOLE(49)] "Uncaught TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or SVGImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or OffscreenCanvas)'", source: C:\Users\lux\AppData\Roaming\Hyper\.hyper_plugins\node_modules\hyper-cyberpunk\index.js (49) [18820:0509/201455.019:INFO:CONSOLE(49)] "Uncaught TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or SVGImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or OffscreenCanvas)'", source: C:\Users\lux\AppData\Roaming\Hyper\.hyper_plugins\node_modules\hyper-cyberpunk\index.js (49) [18820:0509/201455.073:INFO:CONSOLE(49)] "Uncaught TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or SVGImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or OffscreenCanvas)'", source: C:\Users\lux\AppData\Roaming\Hyper\.hyper_plugins\node_modules\hyper-cyberpunk\index.js (49) [18820:0509/201455.233:INFO:CONSOLE(49)] "Uncaught TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or SVGImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or OffscreenCanvas)'", source: C:\Users\lux\AppData\Roaming\Hyper\.hyper_plugins\node_modules\hyper-cyberpunk\index.js (49) ```