electron-multipage-example icon indicating copy to clipboard operation
electron-multipage-example copied to clipboard

This sample is not working.

Open plusone-masaki opened this issue 4 years ago • 2 comments

I arrived to implement multiple pages. When I started it because I wanted to see it actually working, yarn run electron: serve is not working. Is it possible to fix this?

plusone-masaki avatar Feb 26 '21 11:02 plusone-masaki

This is the error log.

Uncaught (in promise) Error: Invalid header: Does not start with Cr24 at crxToZip (webpack:///./node_modules/unzip-crx/dist/index.js?:32:15) at eval (webpack:///./node_modules/unzip-crx/dist/index.js?:57:32) at callHanler (webpack:///./node_modules/yaku/lib/yaku.js?:719:16) at tryCatcher (webpack:///./node_modules/yaku/lib/yaku.js?:436:32) at eval (webpack:///./node_modules/yaku/lib/yaku.js?:575:38) at flush (webpack:///./node_modules/yaku/lib/yaku.js?:478:17) at processTicksAndRejections (internal/process/task_queues.js:76:11)

Process finished with exit code 130 (interrupted by signal 2: SIGINT)

plusone-masaki avatar Feb 26 '21 11:02 plusone-masaki

I upgraded the deps and switched to electron-devtools-installer, which should fix your error. Try pulling the changes and see if it works then.

nklayman avatar Feb 26 '21 19:02 nklayman