manniefesto / hyper-cyberpunk

A cyberpunk glitch plugin for hyper terminal
16 stars 4 forks source link

Plugin does not seem to have any effect #1

Open ynx0 opened 5 years ago

ynx0 commented 5 years ago

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) ```
zcaceres commented 5 years ago

same ^

Solidsn commented 5 years ago

i love the idea it but i doesn't work :((

Simoneu01 commented 5 years ago

same

ynx0 commented 5 years ago

It appears that this line of code fails because the canvas is not initialized properly. Any thoughts @manniefesto ?

zcaceres commented 4 years ago

If anyone is interested, I ended up fixing the problems with this module and adapting it for https://github.com/zcaceres/hypermancer

yungjp3g commented 4 years ago

i got this error too, after installing the theme...